简体   繁体   中英

Xcode Build and Run Succeeds, but Archive Fails

My app builds and runs successfully, but archives fails, therefore I can't make an ipa file. Error log is following:

ld: library not found for -lAAMFeedback clang: error: linker command failed with exit code 1 (use -v to see invocation)

the library is this: pod 'AAMFeedback', :git => ' https://github.com/PlusR/AAMFeedback.git '

Anyone encountered the same situation before? Please share the experience to help me. Thanks,

version info:
Xcode version: 7.3.1
target ios version: 8.0

Xcode 9.0

For me what works was to go Product > Scheme > Manage Scheme and tick all the checkboxes, then Build again and then Archive .

Hopefully, this can help someone else.

尝试在构建阶段下将链接二进制文件中的AAMFeedback添加到库中,尝试在其中添加库的框架

I finally managed to Archive. It was the reason why archive didn't succeed to set Product > Edit Scheme > Build setting. I unchecked 'Find implicit Dependencies' during development, which fasten the building process. However it is needed to check that setting when archiving.

在此输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM