简体   繁体   中英

Swift iOS app Archive error

I'm following my book to release my app.

so, I want Archive my app but my app fire error like the picture below.

I have realm framework for using Db. and also have kakaolink(api) framework. What can i do to solve this?

错误图片 在此处输入图片说明

Add the following run script to your Build Phases section

bash "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/Realm.framework/strip-frameworks.sh"

This step is required to work around an App Store submission bug when archiving universal binaries.

Please make sure that you are adding the run script below the Embedded Binaries in Build Phases section.

Try archiving the project, again if the error exists try the following steps.

  • Remove the corresponding framework and run-scripts that are creating the problem. Then compile and run the code.

  • Add the embedded framework first and then add the run-script. Please make sure the order in the build phases should be like the embedded framework above the run script which you use to select the correct architecture.

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