Tag: xcode9

testing没有iPhone6s或更新版本的ARKit

我之前决定下载Xcode9。 我想玩新的框架 – ARKit。 我知道要运行应用程序与ARKit我需要一个A9芯片或更新的设备。 不幸的是我有一个更老的。 我的问题是已经下载新的Xcode的人。 在我的情况下有可能运行ARKit应用程序? 任何模拟器或其他东西? 任何想法或将不得不购买新设备?

内存分析不适用于Xcode 9

我正在使用最新版本的Xcode 9和macOS 10.13。 当我尝试从我的应用程序的当前状态制作一个内存图时,它显示一个空白屏幕,显示“ 没有select” 。 我也尝试过使用乐器的configuration文件,但是由于权限错误,它不允许我运行。 目标无法运行。 debugging[应用程序名称]的权限被拒绝。 我知道这些线程,并尝试在其中提供的build议,但他们似乎并没有工作 : Reddit – 由于权限被拒绝,Xcode 9中的乐器停止工作吗? 有没有解决方法? 苹果开发者论坛 – Xcode 9 – 仪器权限被拒绝 堆栈溢出 – 为什么我会得到仪器 – “目标无法运行”? 堆栈溢出 – 无法在乐器中启动我的应用程序:至less有一个目标无法启动 我试过的东西: 重新启动Xcode 清空Derived Data文件夹 清理项目 清理生成文件夹 将该scheme的应用程序环境修改为Debug而不是Release 手动pipe理调配configuration文件并select“debugging和发布”的“开发configuration文件” 试用不同操作系统版本的模拟器(iOS 11,iOS 10) 看起来这是Xcode 9的特定问题。 有没有解决这个问题的方法?

Xcode 9 <Warning> 找不到根视图控制器

在使用Xcode 9编译项目时,在控制台上多次重复注意以下警告。 Appname [33380] <Warning> [Firebase/Analytics][I-ACS031011] Root view controller not found 其他相关细节: Appname [33380] <Notice> [Firebase/Analytics][I-ACS023007] Firebase Analytics v.40002000 started Appname [33380] <Notice> [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see –shortened url–) Appname [33380] <Notice> [Firebase/Analytics][I-ACS003007] Successfully created Firebase Analytics App Delegate Proxy automatically. To disable the proxy, set the […]

在Xcode 9中未检测到GoogleMobileAds(Admob)框架 – 链接器错误

我得到了GADInterstitial引用的链接器错误。 未定义的符号为架构arm64 我使用了最新的admob框架GoogleMobileAdsSdkiOS-7.24.0 见附加图像。 如何解决它的iOS 11?

为什么我得到延迟加载NSBundle MobileCoreServices.framework?

当我从主viewControllerredirect到另一个viewController我得到这个 错误: 延迟加载NSBundle MobileCoreServices.framework, 加载MobileCoreServices.framework, systemgroup.com.apple.configurationprofilespath的系统组容器path为/ Users / develop / Library / Developer / CoreSimulator / Devices / 083C0102-C85F-463A-96F4-CA1B9AC7919D / data / Containers / Shared / SystemGroup / systemgroup.com.apple。 configurationprofiles 我的代码是… Appdelegate.m if (![[NSUserDefaults standardUserDefaults] boolForKey:@"HasLaunchedOnce"]) { [[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"HasLaunchedOnce"]; [[NSUserDefaults standardUserDefaults] synchronize]; NSLog(@"Launched first time"); } else { NSLog(@"Already launched"); [self getData]; } […]

Xcode 9自定义字体不能正常工作

自定义字体在Xcode 9中不起作用。但是,如果我在Xcode 8中打开相同的项目,则自定义字体将按预期工作 我已经跑了这段代码,以确保字体显示: NSArray *fontFamilies = [UIFont familyNames]; for (int i = 0; i < [fontFamilies count]; i++) { NSString *fontFamily = [fontFamilies objectAtIndex:i]; NSArray *fontNames = [UIFont fontNamesForFamilyName:[fontFamilies objectAtIndex:i]]; NSLog (@"%@: %@", fontFamily, fontNames); } 我确保字体在plist中,检查了目标成员资格,并在copy bundle资源部分。 这是一个Xcode错误?

Xcode 9 iOS模拟器 – 无法获取有效的进程句柄

我已经升级到Xcode 9,而iOS模拟器10.3和11不工作。 所有股票和我的应用程序试图运行时强制closures。 如下所示的Xcode控制台错误显示当我尝试运行日历,首选项等。“无法获取有效的进程句柄”是什么意思? Process handle (com.apple.Preferences, <BSProcessHandle: 0x7fe84552b8b0; Preferences:9270; valid: NO>) is invalid. Returning error { BKSProcessExitReason = 0; BKSProcessJobLabel = "UIKitApplication:com.apple.Preferences[0x90bf][6825]"; NSLocalizedFailureReason = "Unable to obtain valid process handle"; } [com.apple.Preferences] Bootstrap failed with error: <NSError: 0x600000846c60; domain: BKSProcessErrorDomain; code: 1 (bootstrap-failed); reason: "Unable to obtain valid process handle"> Bootstrapping failed for <FBApplicationProcess: […]

被宠坏的模拟器xcode 9.作为一个破碎的电视

在任何Xcode 9模拟器上,几乎每次启动应用程序都会导致在屏幕截图中显示: 也许有人遇到这个问题并解决了它?

个人资料不是“iOS App Store”个人资料

使用Xcode 9 。 在app store构buildvalidation上工作。 使用app store资料创build了一个应用。 已成功存档 试图validation生成pipe理器中,我收到以下错误selectconfiguration文件。 这与用于存档的configuration文件相同,并且是app storeconfiguration文件。 2查询 如何识别一个configuration文件,如果它是特设或应用程序商店 为什么会发生这种情况?很确定这是一个appstoreconfiguration文件。

什么是NSFaceIDUsageDescription – 面孔ID使用说明Info.plist键?

Xcode 9 GM中有一个新的隐私NSFaceIDUsageDescription Info.plist键,开发人员提供权限警报的使用说明。 有没有人有链接到它的文档? Xcode中的plist视图总结为: 隐私 – 人脸ID使用说明