帖子
帖子
用户
博客
课程
显示全部楼层
380
帖子
4
勋章
6
Y币

[FAQ] iOS自定义模块报错 之前没问题 现在出现

[复制链接]
发表于 2021-1-8 18:51:35
2020-09-25 05:34:09Command line invocation:    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -target UZApp cleannote: Using new build system** CLEAN SUCCEEDED **Command line invocation:    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild archive -scheme UZApp -configuration Release -archivePath UZApp.xcarchive "CODE_SIGN_IDENTITY=iPhone Distribution: GLOBAL SAFETY TANZER TECHNOLOGY CO.LTD (F4569Z48L6)"User defaults from command line:    IDEArchivePathOverride = /uzmap/temp/J57ui4jQEa1RCRH/ios/UZApp.xcarchiveBuild settings from command line:    CODE_SIGN_IDENTITY = iPhone Distribution: GLOBAL SAFETY TANZER TECHNOLOGY CO.LTD (F4569Z48L6)note: Using new build systemnote: Building targets in parallelnote: Using codesigning identity override: iPhone Distribution: GLOBAL SAFETY TANZER TECHNOLOGY CO.LTD (F4569Z48L6)note: Planning buildnote: Constructing build descriptionwarning: NewsstandKit is deprecated. (in target 'UZApp' from project 'UZApp')warning: OpenGLES is deprecated. Consider migrating to Metal instead. (in target 'UZApp' from project 'UZApp')warning: MobileCoreServices has been renamed. Use CoreServices instead. (in target 'UZApp' from project 'UZApp')warning: GLKit is deprecated. Consider migrating to MetalKit instead. (in target 'UZApp' from project 'UZApp')warning: AddressBook is deprecated. Consider migrating to Contacts instead. (in target 'UZApp' from project 'UZApp')warning: AddressBookUI is deprecated. Consider migrating to ContactsUI instead. (in target 'UZApp' from project 'UZApp')warning: AssetsLibrary is deprecated. Consider migrating to Photos instead. (in target 'UZApp' from project 'UZApp')error: The linked and embedded framework 'xBeaconSDK.framework' is missing one or more architectures required by this target: armv7. (in target 'UZApp' from project 'UZApp')error: The linked library 'libmoduleDemo.a' is missing one or more architectures required by this target: armv7. (in target 'UZApp' from project 'UZApp')** ARCHIVE FAILED **error: archive not found at path '/uzmap/temp/J57ui4jQEa1RCRH/ios/UZApp.xcarchive'** EXPORT FAILED **
380
帖子
4
勋章
6
Y币
答案:

error: The linked library 'libmoduleDemo.a' is missing one or more architectures required by this target: armv7.

根据如上错误描述,可以看出是自定义模块需要加上armv7架构的库。
您需要登录后才可以回帖 登录

本版积分规则