admin管理员组文章数量:1391975
We are generating ipA from command line using below command:
Connect iPhone with Mac
run below command
ti build --platform iOS --target device
Select dev certificate and Pro. profile
App successfully installs on iPhone and runs well - All good
Copy the .app file from the path
build/iphone/build/Products/Debug-iphoneos/MyMobileApp.app
and convert it to iPA file (by placing MyMobileApp.app inside a folder named Payload and zip it and convert the file ext to ipa file -- MyMobileApp.ipaWe checked again by installing MyMobileApp.ipa into iPhone, it works well
Now we wish to publish this MyMobileApp.ipa after resign it with dist certificate/profile but when we try to upload it to TestFlight, its not allowing to upload and gives below error:
Invalid bundle structure. The “MyMobileApp.app/__preview.dylib” binary file is not permitted. Your app cannot contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles. For details, visit: ;
Note - We cant use Xcode to export iPA as it gives some other issue so we want to generate iPA from ti command line.
How can we generate a publishable iPA from ti command line?
Complete error log
httpBody: {
"errors" : [ {
"id" : "7cb398bf-8dc3-4fca-b743-1ece7e3b415b",
"status" : "409",
"code" : "STATE_ERROR.VALIDATION_ERROR",
"title" : "Validation failed",
"detail" : "Invalid bundle structure. The “SMyMobileApp.app/__preview.dylib” binary file is not permitted. Your app cannot contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles. For details, visit: ;
}, {
"id" : "d2b50925-00a8-4900-bcfc-eef06ad7e7d8",
"status" : "409",
"code" : "STATE_ERROR.VALIDATION_ERROR",
"title" : "Validation failed",
"detail" : "Invalid bundle structure. The MyMobileApp.app/Send IT Back.debug.dylib” binary file is not permitted. Your app cannot contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles. For details, visit: ;
} ]
本文标签:
版权声明:本文标题:titanium - TestFlight upload is failing Invalid bundle structure - “MyMobileApp.app__preview.dylib" binary file is not 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744733642a2622193.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论