xcode4.5.1、iphone5、ios6 适配
1.修改工程名:直接选中工程名点一下,就像修改名称夹名称一样简单了。
2.导入旧工程解决xcode4.5以后模拟器屏幕不旋转的问题
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 6.0)
self.window.rootViewController = navigationCtrl;
else
[self.window addSubview:navigationCtrl.view];
3.支持iPhone5:添加Retina 4 launch image“Default-568h@2x.png”
图片尺寸:
Default.png 320x480
Default@2x.png 640x960
Default-568h@2x.png 640x1136
4.Icon新增:Icon-72@2x.png,Icon-Small-50@2x.png;
5.判断是否为iphone5
CGFloat screenWidth = [[UIScreen mainScreen] bounds].size.width;
CGFloat screenHeight = [[UIScreen mainScreen] bounds].size.height;
if ((screenWidth==568)||(screenHeight==568)) {
isiPhone5 = YES;
}
6.iphone5宽高:320*568
CGFloat screenWidth = [[UIScreen mainScreen] bounds].size.width;
CGFloat screenHeight = [[UIScreen mainScreen] bounds].size.height;
7.打开iphone5模拟器:硬件-》设备-》iPhone(Retina 4-inch)
8.编绎旧工程出错
1.Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
解决方法:在Build Setting 搜索框中搜索pch,找到了Prefix Header,把后面的Debug等等全都删除,就ok了
9.Xcode编译问题: invalid deployment target for -stdlib=libc++ (requires iOS 5.0 or later)
这个是由于文件编译不支持
可以将target-> Apple LLVM complier 4.1-Language ->C++ standard Library 改成Compiler Default.
分享到:
相关推荐
This document contains release notes for Xcode 4.5.1. It discusses enhancements and issues resolved in Xcode 4.5.1. Improved the responsiveness of the Open Quickly dialog. 12251666 Improved ...
让 Xcode 支持真机调试 iOS14.2(beta) 打开 访达 (command + shift + G )前往文件夹 拷贝到 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport目录下重启 Xcode 即可
xcode8调试IOS11 Shift+Command+G进入 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 把解压后的文件复制进去。
Xcode iOS 16真机调试包 开发调试 iOS16适配
xcode ios sdk 只收辛苦积分,有情发放,IOS11.3、11.3 (15E217)、11.3 (15E5178d)、11.3 (15E5201e)、11.4、11.4 (15F79)、11.4 (15F5037c)、11.4 (15F5061c)、12.0 (16A5288q)
xcode支持iOS15.2和iOS15.4
iOS9.3.2,iOS10 SDK 让你你的xocde5、6支持调试iOS9,iOS10。 源自Xcode_8_beta6,2016-08-24
需要的请下载, 复制到 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 然后把你需要的调试包拖进去
iOS开发--Xcode8不支持iOS10.2系统设备的解决方案. (1) Xcode添加路径 Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.2 (14C5062c)
不想更新Xcode的,还想在Xcode 上运行的可以将SDK移入指定路径/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
xcode真机调试所需,从xcode9.2解压获得,使用时解压到 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport即可
xcode真机调试包 ios13.0,可真机调试ios13.0,来源xcode11 beta 2
提供大家一起下载 可以真机测试大家一起来用 】 、
解决xcode11无法真机调试ios14设备: 将文件解压拖入目录 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
Xcode开发,ios12.0(16A366)版本兼容包。适用于老旧mac,虚拟机Mac以及黑苹果,在不能更新mac版本无法升级Xcode时,使用该兼容包。可使低版本Xcode对ios11.4的真机进行真机测试
xcode8.0以上 配置iOS 10.2 beta开发包
本书教会读者使用Xcode开发环境第4版为iPhone构建自己的应用程序所需的技能。
xcode 真机调试包 ios10.1
由于CSDN限制240M文件,因此拆成两份,本部分包含8.0、8.1、8.2、8.3、8.4、9.0、9.1、9.2、9.3、10.0、10.1、10.2、10.3所有的支持文件,11.0以上的请到另一个部分下载,谢谢~
路径地址:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 描述:Xcode 真机调试文件 iOS 14.0