[英]Getting error in generated iPhone simulator build .zip file for submit in Facebook for review in iOS
I am created a .zip for facebook app review by following command.我通过以下命令为 facebook 应用程序审查创建了一个 .zip。
ditto -ck --sequesterRsrc --keepParent `ls -1 -d -t ~/Library/Developer/Xcode/DerivedData/*/Build/Products/*-iphonesimulator/*.app | head -n 1` ./Desktop/appName.zip
After successfully created In terminal launch .zip file using following command使用以下命令在终端中成功创建后启动 .zip 文件
ios-sim launch /path/to/appName.zip
that time getting error那个时候出错
/path/to/appName.zip/Info.plist file not found.未找到 /path/to/appName.zip/Info.plist 文件。
but when I open .zip file in it Info.plist is present但是当我在其中打开 .zip 文件时,Info.plist 存在
how to solve this problem.如何解决这个问题呢。
Please help me!请帮我!
You're supposed to extract the zip file first.您应该先解压缩 zip 文件。
appName.zip
will become appName.app
. appName.zip
将成为appName.app
。 And then you provide that new file's path.然后您提供该新文件的路径。
So it's:所以是:
ios-sim launch /path/to/appName. ios-sim 启动 /path/to/appName. app应用程序
And not并不是
ios-sim launch /path/to/appName. ios-sim 启动 /path/to/appName. zip压缩
I am created a .zip for facebook app review by following command.我通过以下命令为Facebook应用程序查看创建了一个.zip文件。
ditto -ck --sequesterRsrc --keepParent `ls -1 -d -t ~/Library/Developer/Xcode/DerivedData/*/Build/Products/*-iphonesimulator/*.app | head -n 1` ./Desktop/appName.zip
After successfully created In terminal launch .zip file using following command成功创建后在终端中使用以下命令启动.zip文件
ios-sim launch /path/to/appName.zip
that time getting error那个时候出错了
/path/to/appName.zip/Info.plist file not found.找不到/path/to/appName.zip/Info.plist文件。
but when I open .zip file in it Info.plist is present但是当我在其中打开.zip文件时,出现了Info.plist
how to solve this problem.如何解决这个问题呢。
Please help me!请帮我!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.