首页 » iOS 开发 » 诡异的编译错误

诡异的编译错误

作者: 低调的术木 分类: iOS 开发 发布时间: 2013-12-12 23:50 ė浏览 1,606 次 6没有评论

warning: directory not found for option ‘ ‘

解决方法:

选择项目名称—–>Targets—–>Build Settings—–>Search Paths—–>Library Search Paths 删除对应路径

少哪个删哪个. 别多删除了. 多删了有时更麻烦.

 

No matching provisioning profiles found

Your build settings specify a provisioning profile with the UUID

“A864EE6B-3E6A-4786-8212-494CD1D3956E”

.xcodeproj 找到工程文件, 右键显示包内容

文本方式打开 project.pbxproj

查找所有 “A864EE6B-3E6A-4786-8212-494CD1D3956E” 字段, 都删除, 就好了.

ld: warning: ignoring file /Users/…./libJOSME_SDK_iphone.a, file was built for archive which is not the architecture being linked (i386): /Users…/libJOSME_SDK_iphone.a
Undefined symbols for architecture i386:
“_OBJC_CLASS_$_JDClient”, referenced from:
objc-class-ref in JOSListViewController.o
objc-class-ref in JOSSearchViewController.o
objc-class-ref in JOSRecommendViewController.o
objc-class-ref in JOSStrollViewController.o
objc-class-ref in JOSTeamViewController.o
objc-class-ref in JOSOAuthViewController.o
objc-class-ref in JOSPromotionActivityViewController.o

ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

这个错误,  就要真机调试了. 就好了

本文出自 蓝天笔记,转载时请注明出处及相应链接。

本文永久链接: http://ubluesky.com/archives/359

发表评论

电子邮件地址不会被公开。 必填项已用*标注

您可以使用这些HTML标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Ɣ回顶部