Xcode 5.1发布说明以及iOS 7.1发布

iOS18适配踩坑实录:Xcode16下YYCache崩溃与ADClient废弃的终极解决方案 本文深度解析了iOS 18与Xcode 16适配过程中的两大核心难题:YYCache因SQLite句柄管理不当导致的运行时崩溃,以及ADClient等API废弃引发的编译链接错误。文章提供了详细的修复方案与代码示例,并分享了系统性的适配策略与工具链检查方法,帮助开发者高效完成平台升级。 阅读详情

Xcode 5.1发布说明



今天苹果在发布iOS 7.1的同时,也更新发布了Apple TV和Xcode 5.1。以下是来自于苹果开发者中心的Xcode 5.1发布说明。
小伙伴们果断升级了(话说这阵子真心忙,真心累,少写微博了)

New Features
 
Debugging
1.Quick Look can be implemented for developer defined classes.
When an instance of a custom class is viewed with Quick Look in the debugger variables view or a data tip, the debugger presents it using a method named  -debugQuickLookObject defined in the class implementation. For details on how to use this capability, see  Quick Look for Custom Types in the Xcode Debugger. (12723736)
 
2.Log breakpoint actions now print out the logical value of expressions.
For example, a log breakpoint action such as " myString = @myString@" now prints the value of myString, rather than the pointer value. (13211695)
 
Editing User Interfaces
1.Interface Builder documents can contain specific information about new features they use and the OS versions they require, allowing previous versions of Xcode to display better warning messages when trying to open such documents. (7659982)
 
2.Building interfaces in Interface Builder using auto layout offers the full suite of possible constraint types: aspect ratios, proportional sizes and positions, cross attribute alignments, and a new constraint inspector with features for editing nearly all properties of a constraint.
 
3.The Interface Builder constraint Attributes inspector shows a constraint's items and attributes and allows editing of the attributes. This feature enables the ability to create cross-attribute constraints such as  view1.centerY = view2.bottom. (13739009)
 
4.You can use Interface Builder to edit the relation of any type of constraint, including alignment constraints (for instance,  view1.leading <= view2.leading) and equal size constraints (for instance,  view1.width >= view2.width). (14721954)
 
5.You can create aspect ratio and proportional sizing constraints and edit the multiplier of constraints in Interface Builder. The multiplier can be a decimal number (for example,  0.5), a fraction (for example,  1/2), or an aspect ratio (for example,  1:2). (11935843)
 
6.Constraints attached to ambiguous views in Interface Builder are drawn orange only in the axis with ambiguity. This makes it faster to identify a potential problem in the canvas. (15114120)
 
7.The Interface Builder canvas now displays overlay scrollers when appropriate, based on the “Show scroll bar” setting in the General pane in System Preferences. (10069033)
 
8.The Interface Builder inspector now has support for:
NSTableView - floatsGroupRows property (9617000)
UISegmentedControl - apportionsSegmentWidthsByContent property (9950528)
UITableView - sectionIndexBackgroundColor property (14776025)
 
Setting “Detail” button type for prototype  UITableViewCell - editingAccessoryType property (15039987)
 
Instruments and Symbolication
1.Instruments now finds symbols much more reliably.
If symbols aren't showing up automatically, try the following:
        When Spotlight indexing is disabled for Xcode derived data, such as when using /tmp, add a global list of additional search paths configured in the Instruments preferences.
        The context menu for an address now includes the option “Symbolicate with DSYM” to add a specific symbol file.
        Use the File menu Symbols command to see a more detailed list of the state of individual executables and libraries.
               Green lights indicate the presence of symbols and source information.
               Yellow lights indicate libraries with some symbols but can still benefit from locating a dSYM.
               Red lights indicate situations that prevented symbolication. (14269449)
 
2.The  instruments command-line tool now supports specifying the simulator SDK and device type using the  -w flag. To see a list of the supported simulator configurations as well as attached devices, execute  instruments -s devices in a Terminal window. (14996865)
 
Scripted installation
1.Installing Device Support
Run from the command-line, Xcode.app takes the new command-line argument,  -installComponents. When Xcode is run from a command-line script with this option, it installs the required device support packages and then quits. (15127411)
 
General
1.Emoji and other Unicode surrogate pairs are supported in scheme settings and in project files. (14837623 & 13827044)
 
Changes
1.Building
Arm64 is now included in the “Standard architectures” setting.
 
Xcode 5.0 introduced support for building 64-bit iOS applications but it was not enabled by default. To enable the option of building 64-bit in Xcode 5.0, an architectures setting was provided: “Standard Architectures Including 64-Bit”  (ARCHS_STANDARD_INCLUDING_64_BIT).
 
With the introduction of Xcode 5.1, arm64 is included in the default "Standard architecture” build setting. This results in projects using the default setting automatically building for arm64 along with the standard 32-bit architectures.
 
Note: Be aware of the following architectures issues when opening your existing projects in Xcode 5.1:
    When building for all architectures, remove any explicit architectures setting and use the default Standard Architectures setting. For projects that were previously opted-in using “Standard Architectures           Including 64-Bit”, switch back to the “Standard architectures” setting.
    When opening an existing project for the first time, Xcode 5.1 may display a warning about the use of the Xcode 5.0 architectures setting. Selecting the warning provides a workflow to revise the setting.
    Projects not able to support 64-bit need to specifically set the architectures build setting to not include 64-bit.
 
2.Projects configured to use ”Standard Architectures Including 64-bit” will be converted to “Standard Architectures $( ARCHS_STANDARD).
 
Compiler
1.As of Apple LLVM compiler version 5.1 (clang-502) and later, the optimization level -O4 no longer implies link time optimization (LTO). In order to build with LTO explicitly use the  -flto option in addition to the optimization level flag. (15633276)
 
Testing
1.The  gcov tool for code coverage testing has been reimplemented. The new version uses the llvm -cov tool from the LLVM project. It is functionally equivalent to the old version for all significant features. The location of  gcov within Xcode has also moved, use xcrun to invoke it. If you find problems, please file bug reports. For this release, you can still use the old version of  gcov from GCC, which is available as  gcov-4.2. 11919694 updated
 
Known Issues
 
Editing User Interfaces
1.Custom views added to a stack view in Interface Builder can get stuck in a “misplaced views” (inconsistent) state.
As a workaround, set a placeholder intrinsic size for the custom view with appropriate content hugging and compression resistance priorities. (15778653)
 
Testing
1.Automated tests run in iOS Simulator may fail with an error similar to this:
Test target [test name] encountered an error (Test process exited with code -1)
Attempt recovery by quitting and restarting the simulator. (15929053)
 
Xcode Server
1.Continuous integration features (bots) of Xcode 5.1 require OS X Server v3.1 (or a version of OS X Server 3.1 beta) or later. 16225068 updated
 
2.If there are old copies of Xcode on the server host, Xcode Server sometimes shows all the simulators. Only attempt to use simulators appropriate for use with Xcode 5.1. (15465692 & 15153869)
 
3.Xcode Server will offer All Devices or All Simulators even if there are none that fit the criteria for the project. If you select an inappropriate device or simulator, you may get an error similar to:
xcodebuild: error: No destinations were specified with the -destination flag which were valid for the specified scheme <scheme_name>.
 
To prevent this from happening, specify only valid devices or simulators for your project. (15465222)
 
4.Sometimes when you’re attempting to create a new local repository on OS X Server through Xcode, Xcode may display an error message similar to:
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
 
To resolve this problem, follow the prompts in the dialog displayed on the OS X Server host system. (15475078 & 15486464)
 
5.Sometimes after upgrading to Xcode 5.1 and OS X Server 3.1, the first time you add a server you may see an error similar to:
"<Server> is running a version of OS X Server that cannot be used with this version of Xcode."
 
Quit and restart Xcode one time to clear this message. 16217715 updated
 
iOS Simulator
1.Performance issues can arise when running apps within the iOS Simulator on OS X Mavericks with a simulated OS version of iOS 6.1 or earlier.
A workaround is to disable timer coalescing while using the iOS 6.1 or earlier simulator by executing the following command in a Terminal window:
sudo sysctl -w kern.timer.coalescing_enabled=0 (15501929)
 
2.iOS Simulator sometimes stops responding to hardware keyboard.
Quitting and relaunching the simulator usually corrects this. (14642684)
 
General
1.When validating multiple applications in sequence using the Xcode Organizer, erroneous warnings about bundle IDs may be emitted.
If these warnings occur, quit & relaunch Xcode in between validations. 15113664 updated
 
2.Executables created by Xcode 5.1 may crash on OS X v10.5. (15852259) updated
 
Resolved Issues
 
Testing
1.The  XCTAssertEqual macro (formerly  STAssertEquals using OCUnit) correctly compares scalar values of different types without casting, for example,  int and  NSInteger. It can no longer accept nonscalar types, such as structs, for comparison. (14435933)
 
General
1.OS X apps that require a provisioning profile, such as those using iCloud, now build, are code-signed correctly, and launch. (15841159)
 
Deprecations
1.OCUnit and the SenTestingKit framework are deprecated and will be removed from a future release of Xcode. Source code using OCUnit generates warnings while being compiled in Xcode 5.1.
Migrate to XCTest by using the “Edit > Refactor > Convert to XCTest…” menu command. .
 
2.The ATS framework is deprecated. Source code using ATS APIs will generate warnings while being compiled. For version 10.8, there will be no loss of functionality but there could be areas where performance will suffer.
Replace all ATS code (including  ATSUI) with  CoreText. ATS functionality will be removed in future OS X releases. More information about this change is available in  Core Text Programming Guide.

Xcode16 & iOS18 编译问题适配 表示:iOS7.1-iOS14.5可用,iOS18彻底废弃,会在iOS18系统上编译失败。2.自定义cell,添加到cell视图上会崩溃,添加到contentView上,则不会崩溃。参考链接:https://www.jianshu.com/p/cca4d4d8145d。3.控制器里的maskView视图属性,添加到控制器view,不会崩溃。修改自定义视图,将自定义子组件名为maskView的视图进行重命名。1.自定义UIView子视图,存在同名属性maskView,会崩溃。 阅读详情

相关推荐

Xcode 12.1导出ipa包(适合新手)

前言 因(生)工(活)作(所)需(迫)求,需要从Unity导出Xcode工程,接入IOS SDK,并导出ipa包供测试和上传应用到appStore。新手一枚记录一下导出ipa步骤,方便自己和大家学习。Xcode版本为12.1 ipa文件简介 ipa是Apple程序应用文件iPhoneApplication的缩写。简单来说,ipa 文件本质上是一个 zip压缩包(不是 rar 或 7z 包),跟安卓apk文件性质是一样的。 Xcode打包步骤 1.先设置证书,测试建议用distribution证书,发布版本建

北京朝阳区精神病院院长 1万+

iOS7.1+Xcode5.1

iOS7.1终于更新了,第一时间升级,由于系统动画变快,首先的感觉就是用着舒畅多了;Xcode5.1下了一半,速度实在太慢,下面看看详细的: Xcode 5.1 iOS 7.0 to iOS 7.1 API Differences   北京时间 3 月 11 日凌晨,iOS 7.1 正式版终于发布。虽然它没有和新版本的 iTunes 音乐节应用一起到来,但总算是符合了之前“音

 ideaOS^(BOOL coding) 2655

Xcode打包与发布全攻略:将你的应用带上App Store

Xcode提供了一套完整的工具和流程,帮助开发者将应用打包并发布到App Store。通过本文的详细指导,开发者可以掌握Xcode的打包和发布技巧,确保应用顺利上线。本文深入探讨了Xcode的打包和发布流程,从准备打包到提交审核,再到自动化发布,提供了全面的指导和代码示例。希望能够帮助开发者在Xcode项目中顺利实施打包和发布,将应用成功带到App Store,让全球用户都能体验到你的作品。

2401_85842555的博客 2090

解决Xcode中运行出现"cannot run using the selected device"、"cannot run on the selected destination"或无反应问题

[iOS的解决Xcode中运行出现“不能运行使用选定的设备”,“不能运行在选定的目标”或无反应问题 问题 当使用的Xcode4 Xcode cannot run using the selected device. cannot run on the selected destination. 建设完成后无反应 可能导致这个问题的原因有以下几种: TARG

jalen_yuchi的专栏 1万+

AdClient:演示客户端应用程序,用于测试JSON服务器

AdClient 演示客户端应用程序,用于测试JSON服务器。 安装:使用Android Studio克隆此仓库,然后为您的Android手机构建或生成签名的APK。 谢谢。

保姆级教程:用Anaconda+PyCharm搞定YOLOv8本地部署(附避坑指南)

本文提供了一份详细的YOLOv8本地部署指南,涵盖Anaconda环境配置、PyCharm集成到模型部署的全过程。特别针对国内开发者需求,整合了镜像加速和常见报错解决方案,帮助快速完成目标检测模型的本地部署与实战应用。

weixin_42528090的博客 433

基于H5的App在IOS App Store的打包发布流程

基于H5的App在IOS App Store的打包发布流程0、说明1、ios证书配置(1)创建CSR文件(2)申请开发者证书(3)申请推送证书(4)申请provisioning profile2、打包(1)WebStorm配置(2)XCode配置3、发布 0、说明 (1)最初是基于Cordova+Ionic开发后改为Cordova+Vue开发。 (2)开发时实在Windows平台下开发。 (3)开...

分享技术,传播知识! 4782

I-Cache 和 D-Cache

I-Cache 和 D-Cache

liuyuanbin9001 7023

Unity5.x发布IOS项目Xcode8免签证调试发布教程

https://www.jianshu.com/p/b0fb49fbcc14 最近尝试发布一下IOS项目,发现现在发布已经简单很多了,不需要开发者账户也能简单快捷进行真机调试。 调试: 1.准备工作 ①硬件:Mac机一台; Iphone或Ipad设备一台 ②注册Apple账号一个 ③下载Unity5.x,搜索Unity下载 ④到AppStore下载Xcode8 ...

a554671102的博客 183

如何用libwebsocket库在stm32F407上实现websocket客户端?

🏆本文收录于 《全栈 Bug 调优(实战版)》 专栏。专栏聚焦真实项目中的各类疑难 Bug,从成因剖析 → 排查路径 → 解决方案 → 预防优化全链路拆解,形成一套可复用、可沉淀的实战知识体系。无论你是初入职场的开发者,还是负责复杂项目的资深工程师,都可以在这里构建一套属于自己的「问题诊断与性能调优」方法论,助你稳步进阶、放大技术价值 。

**My Coding Family** 1134

R语言中的Gamma分布函数

在R语言中,我们可以使用最大似然估计(Maximum Likelihood Estimation,MLE)或最小二乘估计(Least Squares Estimation,LSE)等方法来估计Gamma分布的参数。本文介绍了在R语言中使用Gamma分布函数的基本操作,包括生成随机变量、计算概率密度函数和累积分布函数,以及参数估计和拟合。函数来生成Gamma分布的随机变量,计算概率密度函数(PDF)和累积分布函数(CDF),以及进行参数估计和拟合。要计算Gamma分布的累积分布函数(CDF),我们可以使用。

ByteWhiz的博客 1632

Qt Qt5.15+Xcode12+BigSur macOS及iOS开发环境搭建

目录1 简述2 安装2.1 Xcode安装2.2 Qt安装 1 简述 Qt5.15开始就不提供个人的离线安装包了,有两种方式可以安装。本文采用在线安装方式。 第一是下载源码,自己编译,地址在这https://download.qt.io/archive/qt/5.15/5.15.0/single/ 第二个是在线安装,登陆Qt个人账户,可以选择Qt5.9到目前最新Qt6之间的版本。估计这一个在线安装包以后版本更新不会换了,还是这个安装包搞定下载安装。只会在官网发布源码。地址在这http://download.

我是唐 5084

SAP_FICO模块-资产减值功能对折旧和残值的影响

SAP_FICO模块-资产减值操作对资产历史折旧以及后续折旧的影响,包括减值操作的配置前提

风沙的博客 2805

iOS7和Xcode5初体验(多图杀猫) -毛玻璃时代的来临

WWDC2013来了,一夜未眠。没有兴奋,没有惊喜,没有失望,只有落寞。 不管怎样,WWDC2013 keynote还是有一些亮点,这里说一下我个人感兴趣的几个内容。 首先是这次keynote上唯一的第三方开发商产品展示-AnkiDrive的智能玩具。虽然还只是玩具车,但已经可以看到这家专注人工智能相关产品公司的实力。据说他们已经拿到5000万美元的投资,我隐约有一种感觉,苹果已经逐渐

richeninfo的专栏 1986

PyQt5开发编译器安装(PyCharm安装)

PyCharm 提供了最完整的 PyQt5 开发体验,特别是其集成的调试工具和 Qt Designer 支持,能显著提高开发效率。是最受欢迎和功能最完整的 IDE。它专门为 Python 开发优化,对 PyQt5 有很好的支持。右键运行该文件,如果出现窗口说明配置成功。对于 PyQt5 开发,

啊渊的专栏 419

File Load Error for Untitled.ipynb Unhandled error 解决方案

本文主要介绍了File Load Error for Untitled.ipynb Unhandled error 解决方案,希望能对使用jupyter notebook的同学们有所帮助。 文章目录 1. 问题描述 2. 解决方案

weixin_43178406的博客 1万+

在xcode6.1和ios10.10.1环境下实现app发布

之前写过在xcode6.1和ios10.10.1环境下实现真机测试,以及最近提交的app一直在审核当中,所以木有发布如何实现app发布来分享给大家。刚好昨天app审核通过了,所以就分享一篇如何实现app发布。 第一步: 创建app发布证书以及配置文件 1.  进入ios开发中心 2. 点击进入 Certificates,Identifiers & Profiles 3. 说明:因为

Flying_in_the_world的专栏 372

基于Python的Booking酒店数据爬虫实战:最新技术与完整代码解析

本文将详细介绍如何使用Python构建一个高效的Booking酒店数据爬虫,涵盖从基础爬取到高级反反爬技术的完整实现。我们将使用最新的Python爬虫技术栈,包括requests-html、Playwright、智能代理轮换等技术,并提供完整的可运行代码示例。文章将深入探讨爬虫的各个组成部分,包括数据提取、存储、反反爬策略以及性能优化等方面。关键词:Python爬虫、Booking数据采集、反反爬技术、Playwright、数据存储。

2201_76125261的博客 936

Xcode 5.1发布说明

Xcode 5.1发布说明 今天苹果在发布iOS 7.1的同时,也更新发布了Apple TV和Xcode 5.1。以下是来自于苹果开发者中心的Xcode 5.1发布说明。 小伙伴们果断升级了(话说这阵子真心忙,真心累,少写微博了) New Features   Debugging 1.Quick Look can be

happyrabbit456的专栏 1104

蓝牙模块HM-10手册

蓝牙模块HM-10手册,该手册对蓝牙模块HM-10进行了详细的介绍和使用方法以及一些AT指令。

VB摄像头监控

该VB模块可对摄像头捕获的画面进行录像等,可在创建的窗口进行控制

Unity 发布IOS平台并部署到真机上测试的方法

准备 Mac OS系统 使用Unity做IOS开发,需要一台苹果系统的电脑,如果没有,那就用虚拟机或者安装黑苹果吧,虽然Windows版Unity也可以跨平台发布IOS,但是问题多的让你怀疑人生。 虚拟机安装Mac OS请参见:VMware 14虚拟机安装Mac OS 10.14详细教程 安装Mac版Unity 软件 在Unity官网下载Mac版Unity,最好使用安装器进行安装,可以选择你所需要...

爱尚游Bin的博客 6468

复分析 阿尔福斯(Ahlfors) 第三版答案 英文

答案分为十章,有部分习题没有答案,全英文复分析阿尔福斯(Ahlfors) 第三版答案

Xcode5.0安装IOS7之前版本的模拟器

http://simman.cc/article/2316/ 前段时间Apple发布了Xcode的5.0,所以跟风把xcode由4.6.3升级到了5.0版本,因为考虑到了有一些插件还不支持5.0版本,所以就把4.6.3保存了一份,当然Xcode5.0默认只有IOS7的模拟器,考虑到要做7以下版本的适配,所以又下载了ios6.0、ios6.1的模拟器,过了一段时间,Xcode又升级到了5.

起点 2624

IMSL CNL 7.0.0 (x86-64)Crack

IMSL CNL 7.0.0 (x86-64)Crack intel的算法库破解文件,这是C++版本的破解文件

Xcode12.4发布说明(翻译)

Xcode 12.4包含了iOS 14.4, iPadOS 14.4, tvOS 14.4, watchOS 7.2, 以及 macOS Big Sur 11.1的SDK。Xcode 12.4支持iOS 9及以上版本,tvOS 9及以上版本,watchOS 2及以上版本。Xcode 12.4需要在安装有macOS10.15.4及以上的版本的电脑上使用。

郭永明的技术专栏 3322

iOS 同时兼容 Xcode 7 和 Xcode 8

做为 iOS 开发者,你肯定会对 iOS 10 中的新特性感到无比兴奋,并迫不及待地想要在应用中进行实践。虽然你想马上就动手以便第一时间就能“上船“。但 iOS 10 正式上线却是几个月以后的事情,而且在那之前,你还需要保持每几周就发布一次的频率。这个情况听起来是不是跟你现在的处境很像呢? 当然,目前你还不能用 Xcode 8 来编译需要发布的应用——因为它无法通过 App Store 的验

u014068781的专栏 2927

Unity5.x发布IOS项目至Xcode8教程

  最近尝试发布一下IOS项目,发现现在发布已经简单很多了,不需要开发者账户也能简单快捷进行真机调试。 1.准备工作 ①硬件:Mac机一台; Iphone或Ipad设备一台 ②[注册](https://secure2.store.apple.com/cn/shop/sign_in?c=aHR0cDovL3d3dy5hcHBsZS5jb20vY24vfDFhb3MzZWFiN2VjMTY3NjNj...

PA_的博客 783

iOS证书说明和发布内购流程整理及 证书申请

来源:http://www.cocoachina.com/ios/20150521/11889.html http://my.oschina.net/lujianing/blog/416676 http://blog.csdn.net/holydancer/article/details/9219333 网上关于苹果证书的生成和设置的教程比较多,但大多数只是讲了相关流程和步骤,有的也

人生起落,生活苦甜,坚持追求! 3944

iOS 应用发布

苹果为广大的开发者提供了一个很好的

余书懿 1万+
上一篇: How To Implement Search Bar in iOS 7 Using Storyboard
下一篇: android 开发之ScrollView 截屏代码
geekcoder
博客等级 码龄14年 78粉丝 142原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值