0

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

5
  • Are you adding any framework as Embedded Framework in your project? Commented Sep 8, 2017 at 5:33
  • @AravindAR In my project General, it have RealmSwift.framework and Realm.frameWork Commented Sep 8, 2017 at 5:39
  • I just wanted to know whether you have added any frameworks under Embedded binaries section? Commented Sep 8, 2017 at 5:41
  • @AravindAR I think it have please check question i update my question Commented Sep 8, 2017 at 5:46
  • I have added an answer which worked for me when I had a similar issue with some other framework. It would be great if you could try that and confirm whether it is working or not. Commented Sep 8, 2017 at 5:50

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

2 Comments

It is work!!! really really really really really really really really really really Thanks.... haha i'm not good at english and beginner at swift.
Thanks for appreciate my bad english :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.