提交到 App Store 问题:不支持的架构 x86_64,i386 (IBMMobileFirstPlatformFoundation.framework) +IONIC 2 + IBM MFP 8.0
Submit to App Store issues: Unsupported Architecture x86_64,i386 (IBMMobileFirstPlatformFoundation.framework) +IONIC 2 + IBM MFP 8.0
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.
我试过了http://ikennd.ac/blog/2015/02/stripping-unwanted-architectures-from-dynamic-libraries-in-xcode/
请看画面,正确吗?
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"
请帮我解决这个问题
谢谢
我在使用另一个框架 ("Intercom") 时遇到了同样的问题。我还将它添加到嵌入式二进制文件中,并将 运行 脚本添加到 select 正确的架构中。对我有用的解决方案是 -
- 删除导致问题的相应框架和 运行-脚本。然后编译 运行 代码。
- 先添加嵌入式框架,再添加运行脚本。请确保构建阶段的顺序应该类似于 运行 脚本上方的嵌入式框架,您使用该脚本 select 正确的架构。
这对我有用,希望对你也有帮助。
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.
我试过了http://ikennd.ac/blog/2015/02/stripping-unwanted-architectures-from-dynamic-libraries-in-xcode/
请看画面,正确吗?
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"
请帮我解决这个问题 谢谢
我在使用另一个框架 ("Intercom") 时遇到了同样的问题。我还将它添加到嵌入式二进制文件中,并将 运行 脚本添加到 select 正确的架构中。对我有用的解决方案是 -
- 删除导致问题的相应框架和 运行-脚本。然后编译 运行 代码。
- 先添加嵌入式框架,再添加运行脚本。请确保构建阶段的顺序应该类似于 运行 脚本上方的嵌入式框架,您使用该脚本 select 正确的架构。
这对我有用,希望对你也有帮助。