文章目录
- 1、Xcode10 自动联想失效
- 2、苹果app链接
- 3、支持http请求
- 4、An error was encountered while attempting to communicate with this device(试图与此设备通信时遇到错误)
- 5、Prefix Header 添加
- 6、ARC支持非ARC类库
- 7、unexpected duplicate task
- 8、Could not attach to pid :"xxx"
- 9、Could not build module 'AMapLocationKit'
- 10、Application has LSSupportsOpeningDocumentsInPlace key, but doesn't implement application:openURL:options: on delegate
- 11、Command CodeSign failed with a nonzero exit code
- 12、Could not find test host for xxxxxTests:
- 13、Implicit declaration of function '' is invalid in C99
1、Xcode10 自动联想失效
Build Settings -> User Header Search Paths
双击,填入 $(PODS_ROOT), 设置为recursive
Xcode10 不能联想头文件
在Xcode -> File菜单下找到 “WorkspaceSettings”或“ProjectSettings” 菜单 ->
单击后会弹出如下设置框
在“Build System”中选择“Legacy Build System”
2、苹果app链接
https://itunes.apple.com/cn/app/idxxxxxxxxxxx
id后面加上自己的appID
3、支持http请求
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
4、An error was encountered while attempting to communicate with this device(试图与此设备通信时遇到错误)
给一个新ios手机安装应用的时候遇到一个报错。
数据线断开,重新插上就好了。