jun Hong Park
jun Hong Park

Reputation: 49

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?

error picture enter image description here

Upvotes: 0

Views: 328

Answers (1)

Aravind A R
Aravind A R

Reputation: 2714

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.

Upvotes: 1

Related Questions