简体   繁体   中英

CFBundleIdentifier Collision and more when publising NativeScript app on App Store

I'm having a hard time trying to publish a NativeScript app to the App Store.

First, I had issues with icon files. Now, no matter what I try, I get these errors:

Invalid Binary Architecture, CFBundleIdentifier Collision, Invalid Segment Alignment, Invalid Encryption Info and Non-PIE Binary.

来自苹果的电子邮件

在此处输入图片说明

Does anyone know how to fix that?

UPDATE:

I noticed there are two TNSCore.framework on the xcodeproj and one of them is pointing to the node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core/ directory which probably has something to do with the unexpected successful exit code from cancelled command <C0036:'PBXCp TNSListView.framework':P16> error I get from time to time.

It doesn't seem right.

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

删除nativescript-ui-listview模块随附的重复的nativescript-ui-core解决了我的问题。

rm -rf node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core;

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