2

enter image description here

I'm getting these error when upload to appstore.

I had added the IBMMobileFirstPlatformFoundation.framework in Targets => General => Embedded Binaries. (By default it is there in Linked Framework and Libraries)

If I remove IBMMobileFirstPlatformFoundation.framework from Embedded Libraries (By default it is there in Linked Framework and Libraries), Build will success, but App will crash.

I had tried http://ikennd.ac/blog/2015/02/stripping-unwanted-architectures-from-dynamic-libraries-in-xcode/ Please see the screen, is it correct?enter image description here

I could take adhoc build,

I'm using Ionic version 2 and IBM MFP 8.0. and

cordova-plugin-mfp 8.0.2017060910 "IBM MobileFirst Platform Foundation"

Please help me to solve this Thanks

Community
  • 1
  • 1
Roney Francis
  • 356
  • 2
  • 15
  • Please let us know what version of cordova-plugin-mfp you are using. Also, did you build the cordova app and then open the produced xcodeproj in Xcode? I'm not aware of special steps that you should have to take like you're describing above. – John Gerken Jun 22 '17 at 14:06
  • Dear John, I'm using cordova-plugin-mfp 8.0.2017060910 "IBM MobileFirst Platform Foundation". And I open this project using Xcodeproject – Roney Francis Jun 22 '17 at 14:13

1 Answers1

7

I had the same issue while using another framework ("Intercom"). I was also adding it in embedded binaries and the run script to select the correct architecture. The solution that worked for me is -

  • 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.

This worked for m, I hope this will help you too.

Aravind A R
  • 2,674
  • 1
  • 15
  • 25