请选择 进入手机版 | 继续访问电脑版
12下一页
返回列表 发新帖

[新书交流] IOS 编译失败,是什么情况

[复制链接]
医研帮 发表于 2021-10-26 16:07:44
错误地址:downloadpkg.apicloud.com/zip/30/24/3024cd5e63d8b419b04372eb1df1ad73.log

2021-10-26 04:**.**mand line invocation:    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -target UZApp cleanUser **.**mand line:    IDEPackageSupportUseBuiltinSCM = YESnote: Using new build systemnote: **.**plete** **.**EEDED **Command line invocation:    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild archive -scheme UZApp -configuration Release -archivePath UZApp.xcarchive "CODE_SIGN_IDENTITY=iPhone Distribution: Reelly Mr (C7C756VCHF)"User **.**mand line:    IDEArchivePathOverride = /Users/apicloud/uzmap/temp/SUNjJLIh397gz3v/ios/UZApp.xcarchive    IDEPackageSupportUseBuiltinSCM = YESdownloadpkg.apicloud.com/zip/30/24/3024cd5e63d8b419b04372eb1df1ad73.logBuild **.**mand line:    CODE_SIGN_IDENTITY = iPhone Distribution: Reelly Mr (C7C756VCHF)--- xcodebuild: WARNING: Using the first of multiple matching destinations:{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }{ platform:iOS Simulator, id:FD73EBC2-EA5A-472C-AFA6-5F9FE8958BC0, OS:15.0, name:iPad (9th generation) }{ platform:iOS Simulator, id:0611B860-358F-4DFE-811D-3F3EEE8ABEBB, OS:15.0, name:iPad Air (4th generation) }{ platform:iOS Simulator, id:C3AE0462-E40B-47DF-9FAC-A02E37DAD54B, OS:15.0, name:iPad Pro (9.7-inch) }{ platform:iOS Simulator, id:8CC7F432-C314-4C44-9F25-E6BAAD12339F, OS:15.0, name:iPad Pro (11-inch) (3rd generation) }{ platform:iOS Simulator, id:7F53CD2E-2522-4969-B121-1DA9791859AB, OS:15.0, name:iPad Pro (12.9-inch) (5th generation) }{ platform:iOS Simulator, id:A9B485A5-E4EE-48D1-8F4D-AB758E947CE5, OS:15.0, name:iPad mini (6th generation) }{ platform:iOS Simulator, id:285A0AA8-497D-4ED8-B337-89D12C3C7090, OS:15.0, name:iPhone 8 }{ platform:iOS Simulator, id1EC9468-3DA0-4C0A-96F0-FEF4058B537A, OS:15.0, name:iPhone 8 Plus }{ platform:iOS Simulator, id:8737B509-894A-4BF0-BC33-65111840C7ED, OS:15.0, name:iPhone 11 }{ platform:iOS Simulator, id:139CF616-B548-4D75-**.**03DF681A, OS:15.0, name:iPhone 11 Pro }{ platform:iOS Simulator, id:91A46B8A-66FE-46F3-91B8-9D8451FA2B21, OS:15.0, name:iPhone 11 Pro Max }{ platform:iOS Simulator, id:BA5145B2-522A-403A-90A9-465E40F75A72, OS:15.0, name:iPhone 12 }{ platform:iOS Simulator, id:F3BB942B-D5ED-48C2-95F2-F4AC5D3E55E8, OS:15.0, name:iPhone 12 Pro }{ platform:iOS Simulator, id:BF34C60A-340C-4D4C-BD1E-E10F80F11249, OS:15.0, name:iPhone 12 Pro Max }{ platform:iOS Simulator, id:078D06A9-64AE-480D-BC71-3233291305B6, OS:15.0, name:iPhone 12 mini }{ platform:iOS Simulator, id:E0FF29F2-1B89-4500-82DF-0F871C47B53E, OS:15.0, name:iPhone 13 }{ platform:iOS Simulator, id:69488A5E-226C-48AE-8A2E-F19165449DF4, OS:15.0, name:iPhone 13 Pro }{ platform:iOS Simulator, id:AC0D5590-E863-4EA8-820D-86BDB0D61C90, OS:15.0, name:iPhone 13 Pro Max }{ platform:iOS Simulator, id:E8F06FA1-64DB-48C6-A220-27919E6DD318, OS:15.0, name:iPhone 13 mini }{ platform:iOS Simulator, id:CFE4955C-D971-4552-B1CA-699C7B073AE5, OS:15.0, name:iPhone SE (2nd generation) }{ platform:iOS Simulator, id:BA75BF2B-8B80-450A-9AD2-74D3250BD3BD, OS:15.0, name:iPod touch (7th generation) }note: Using new build systemnote: Using codesigning identity override: iPhone Distribution: Reelly Mr (C7C756VCHF)note: PlanningAnalyze workspaceCreate build descriptionBuild description signature: eb618557b18d953730cabc14b0112e83Build description path: /Users/apicloud/Library/Developer/Xcode/DerivedData/UZApp-hihznsfxbtxzwlfdkhbrmupskrgf/Build/Intermediates.noindex/ArchiveIntermediates/UZApp/IntermediateBuildFilesPath/XCBuildData/eb618557b18d953730cabc14b0112e83-desc.xcbuildnote: **.**pletenote: Building targets in parallel/Users/apicloud/uzmap/temp/SUNjJLIh397gz3v/ios/UZApp.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.0.99. (in target 'UZApp' from project 'UZApp')/Users/apicloud/uzmap/temp/SUNjJLIh397gz3v/ios/UZApp.xcodeproj: warning: NewsstandKit is deprecated. (in target 'UZApp' from project 'UZApp')/Users/apicloud/uzmap/temp/SUNjJLIh397gz3v/ios/UZApp.xcodeproj: warning: OpenGLES is deprecated. Consider migrating to Metal instead. (in target 'UZApp' from project 'UZApp')/Users/apicloud/uzmap/temp/SUNjJLIh397gz3v/ios/UZApp.xcodeproj: warning: MobileCoreServices has been renamed. Use CoreServices instead. (in target 'UZApp' from project 'UZApp')/Users/apicloud/uzmap/temp/SUNjJLIh397gz3v/ios/UZApp.xcodeproj: warning: GLKit is deprecated. Consider migrating to MetalKit instead. (in target 'UZApp' from project 'UZApp')/Users/apicloud/uzmap/temp/SUNjJLIh397gz3v/ios/UZApp.xcodeproj: warning: AddressBook is deprecated. Consider migrating to Contacts instead. (in target 'UZApp' from project 'UZApp')/Users/apicloud/uzmap/temp/SUNjJLIh397gz3v/ios/UZApp.xcodeproj: warning: AddressBookUI is deprecated. Consider migrating to ContactsUI instead. (in target 'UZApp' from project 'UZApp')/Users/apicloud/uzmap/temp/SUNjJLIh397gz3v/ios/UZApp.xcodeproj: warning: AssetsLibrary is deprecated. Consider migrating to Photos instead. (in target 'UZApp' from project 'UZApp')/Users/apicloud/uzmap/temp/SUNjJLIh397gz3v/ios/UZApp.xcodeproj: error: Building for iOS, but the linked and embedded framework 'AipOcrSdk.framework' was built for iOS + iOS Simulator. (in target 'UZApp' from project 'UZApp')/Users/apicloud/uzmap/temp/SUNjJLIh397gz3v/ios/UZApp.xcodeproj: error: Building for iOS, but the linked and embedded framework 'AipBase.framework' was built for iOS + iOS Simulator. (in target 'UZApp' from project 'UZApp')** ARCHIVE FAILED **error: archive not found at path '/Users/apicloud/uzmap/temp/SUNjJLIh397gz3v/ios/UZApp.xcarchive'** EXPORT FAILED **

15条回复

医研帮 新手上路 75Y币
520707liu 发表于 2021-10-26 16:16
通知你们相关ios 技术人员下边的文档操作,把第三方的framework sdk 虚拟机的部分去掉

是程序里面?
医研帮 新手上路 75Y币
520707liu 发表于 2021-10-26 16:56
命令行

https://**.**weixin_33721344/article/details/93163450

是在apicloud 命令行对吗?第一次IOS ?
520707liu【模块开发者】 版主 73863Y币
医研帮 发表于 2021-10-26 17:09
是在apicloud 命令行对吗?第一次IOS ?

lipo -remove i386 AipBase -o AipBase
lipo -remove x86_64 AipBase -o AipBase

之前的弄错了,直接在 第三方sdk 执行这两行代码就行了

520707liu【模块开发者】 版主 73863Y币
医研帮 发表于 2021-10-26 17:09
是在apicloud 命令行对吗?第一次IOS ?

在mac 上边执行
医研帮 新手上路 75Y币

微信图片_20211026173001.jpg 对吗
520707liu【模块开发者】 版主 73863Y币

AipOcrSdk.framework 和 AipBase.framework 里面的更目录执行


cd .............................../AipOcrSdk.framework

lipo -remove i386 AipOcrSdk -o AipOcrSdk
lipo -remove x86_64 AipOcrSdk -o AipOcrSdk

cd .............................../AipBase.framework

lipo -remove i386 AipBase -o AipBase
lipo -remove x86_64 AipBase -o AipBase
医研帮 新手上路 75Y币
520707liu 发表于 2021-10-26 17:37
AipOcrSdk.framework 和 AipBase.framework 里面的更目录执行

一般路径 在哪 ,找不到
医研帮 新手上路 75Y币
520707liu 发表于 2021-10-26 17:37
AipOcrSdk.framework 和 AipBase.framework 里面的更目录执行

检索也未检索到
520707liu【模块开发者】 版主 73863Y币

你自己放的目录你自己不知道位置吗?
12下一页
您需要登录后才可以回帖 登录

本版积分规则