iOS bug
TheoWan
希望这个世界,能因为我的存在,添一些美好。
展开
-
CocoaPods 导库时提示“Use the `$(inherited)` flag” or “Remove the build settings from the target”
错误如下提所示: 此种类似的情况,在此博客中已有说明。 解决问题的步骤: 1.Target - > building settings中搜索 “ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES”,值类型是bool,点击other,把值换成 $(inherited) 2.如图中最后一个命令,执行pod update 3.解决问题完成。原创 2017-02-16 11:57:52 · 11266 阅读 · 0 评论 -
Framework did not have a CFBundleIdentifier in its Info.plist
解决办法: 在Xcode里,按住alt按钮,Product -> clean 其他可能的解决办法: 1.rm -rf ~/Library/Developer/Xcode/DerivedData/ 2. gem uninstall cocoapods, gem install cocoapods and pod installpod installclean xcode usin原创 2017-02-17 16:25:33 · 1700 阅读 · 0 评论 -
bug:The application bundle does not contain a valid identifier
把debug模式 改成 release模式原创 2017-02-20 09:19:03 · 1137 阅读 · 0 评论 -
项目取名有“-”的问题
http://stackoverflow.com/questions/27613812/add-project-reference-to-swift-ios-xcode-project-and-debug TARGETS -> Build Setting -> Packaging -> Product Name 添加$(PRODUCT_NAME:c99extidentifier)原创 2017-02-13 16:56:56 · 594 阅读 · 0 评论 -
扫码。摄像捕捉。AVCaptureSession初始化 闪退。
如果不在info.plist中添加如下说明: NSCameraUsageDescription 是否允许此app访问您的相机 NSPhotoLibraryUsageDescription 是否允许此app访问您的相册 UIRequiredDeviceCapabilities 单步调试到AVCaptureSession初原创 2017-02-23 09:50:44 · 1907 阅读 · 0 评论 -
Class PLBuildVersion is implemented in both frameworks(stackoverflow的 快照)
Ask Question up vote149down votefavorite 33 iOS 10 / Xcode 8 GM build getting the below, never had it before on Xcode 7. Any ideas? objc[25161]: Class PLBui原创 2017-03-13 15:56:10 · 2606 阅读 · 0 评论 -
LaunchScreen启动图 黑屏
最近做项目,遇到了LaunchScreen欢迎页图片加载不上或者说不显示的问题。写个笔记记录一下。。。 一开始一切都是顺利的,也可以显示欢迎页的图片,但是后来做别的功能时,图片突然不显示,试了好多方法,重新写LaunchScreen,或者换别的图片,但是都不显示,最后在网上看到别人说,是xcode的问题,我们的资源没有加载上,然后我就把测试机重启了,xcode也重启了,问题就解决了。转载 2018-02-26 15:39:09 · 1516 阅读 · 0 评论 -
Bitcode Shell脚本 自动化打包 EXPORT FAILED
iOS 打包上线 All object files and libraries for bitcode must be generated from…报错 错误现象: 一、App的开发对bitcode的支持 //现在开发的iOS应用,有一个bitcode选项,通常我们的做法是在设置内,设置bitcode为YES; //另外,App最好添加下面设置“other转载 2018-03-12 13:42:29 · 677 阅读 · 0 评论