简体   繁体   中英

Unable to export the .archive file to .ipa

I have integrated LazyPDFKit into my application and am trying to generate the build, It is saying as below. Iam unable to export archived file into .ipa file. Below is the issue when I export it.

Info.plist of “LazyPDFKitDemo.app/Frameworks/LazyPDFKit.framework” specifies a simulator platform for the CFBundleSupportedPlatforms key 在此输入图像描述

Please suggest me

Try this ...

CFBundleSupportedPlatforms = { "iPhoneSimulator" },

Replace with iPhoneSimulator to iPhoneOS

CFBundleSupportedPlatforms = { "iPhoneOS" },

Check the CFBundleSupportedPlatforms key in you plist. Set the value to CFBundleSupportedPlatforms = { "iPhoneOS" }

I have the same issue perplex me a long time, and I finally find the way solved it, see my question: framework specifies a simulator platform for the CFBundleSupportedPlatforms key

The solution is when export the .ipa file, uncheck the bitcode :

取消选中bitcode

I think the reason is LazyPDFKit do not support bitcode .

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