上线前App(悦读家园)所遇到的一些问题。

来源:互联网 发布:同济大学软件专硕 编辑:程序博客网 时间:2024/04/30 22:32

1。Cordova/CDVViewController.h file not found 解决办法

   解决方法:

   Header Search Path 加入

"$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include"



   2。Not a PNG filCommand /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/copypng emitted errors but did not return a nonzero exit code to indicate failure

解决方法:把工程中,Compress PNG files 设置为NO即可。
可能你的图本来就是被压缩过的 


3. linker command failed with exit code 1 (use -v to see invocation)   

解决方法:选中项目->双击->target->buildSeting->搜索BITCODE,默认是yes,修改成no。  重新运行


0 0