1. Could not change executable permissions on the application.
because i already have the same app using the same bundle identifier installed on the phone.
what you need to dois to delete all those apps on your iphone which is using the same bundle identifier name.
2.symbol(s) not found forarchitecture i386.
iOS 编译时有时候会出现编译不过的情况 错误描述大致为:symbol(s) not found forarchitecture i386
一般情况下是由于库文件引用出的问题,检查你需要使用的库,是否已经添加到工程里。
xcode4.0以上添加方法:选择工程的 TARGETS--->Build Phases--->Link Binary With Libraries 点击“+”图标添加对应的库。
3.'xxx'has been modified since the precompiled header was built.
deleting the DerivedData folder formy app at:
~/Library/Developer/Xcode/DerivedData/{project name + gobly-gook}
4. Xcode 4.5 无法生成IOS APP ARCHIVE的解决方法
存档编译的App,每次都生成一个 名字叫:Generic Xcode Archive 的玩意.
如果工程引用了外部类库, 默认生成的archive是 Generic Xcode Archive 格式的 无法发布和生成ipa文件。
网上的解决办法是:将其他静态库中的 Build Settings 中的 Skip install 更改为 YES, 主工程的 Skip install 依旧保持 为 NO. 就解决问题了,
但纠结的是,我这样设置以后,依旧编译错误, 原来还需要将静态库中的 所有头文件,归置到Project 之中. 再次编译,成功!
如图:
5. "_OBJC_CLASS_$_SKPSMTPMessage", referenced from:
objc-class-refinConfirmController.o
经常出现库的问题,尤其是挪用别人的东西的时候。明明知道是库的问题,可有的时候加上frame库和静态库还是不行, 又找了个解决方案 在工程的Build Phases 下的 Compile Sources里面加入报错的.m文件
就可以了~~
解决:"_iconv_open", referenced from:
标签: libiconv.dylib _iconv_open referencedfrom it
关于:_iconv_open", referenced from:的解决方案
添加动态库 libiconv.dylib.
6. 空对象调试,在product->scheme->scheme edit中加入:
7. "error: failed to attach to process ID 0"问题解决启动simulator没多久,感觉不到simulator自身加载启动完成就报这个错。在simulator menubar上,ios模拟器-->还原内容和设置,8.code signing is required for product type 'Application' in SDK 'iOS 6.0'解决之道:PROJECT --> Build Settings --> Code Signing --> Code Signing Identity设置为 iPhone DeveloperTARGETS --> Build Settings --> Code Signing --> Code Signing Identity设置为 iPhone Developer