xcode8

Why can I not install more than three apps?

戏子无情 提交于 2020-06-07 09:07:10
问题 I have just started learning how to make iOS apps, and am using the free personal developer account. I have made four apps so far, but do not seem to be able to install more than three apps. Even if I have three apps installed, and go to update one of the installed apps I receive the following error message in Xcode: App installation failed The maximum number of apps for free development profiles has been reached. From what I have read, each app should be signed for a week, but I've only been

Error: Illegal NSOutlineView data source

你。 提交于 2020-05-30 07:58:09
问题 I created a prototype that successfully implements a Source View based on this tutorial. I then attempted to port it to the real application. When I run it, I get the error 2016-12-17 18:30:43.693194 jazzcat[67629:1970219] *** Illegal NSOutlineView data source (). Must implement outlineView:numberOfChildrenOfItem:, outlineView:isItemExpandable:, outlineView:child:ofItem: and outlineView:objectValueForTableColumn:byItem: I've spent hours comparing the two applications and can't find a

Xcode successfully builds but fails to run macOS app

半腔热情 提交于 2020-05-29 06:56:34
问题 I've written a mac application that uses CloudKit, and ever since I've upgraded to Sierra and XCode 8, the app will successfully build, but Xcode will not launch the application when I click "run". If I go into the Derived Data folder and manually double-click my application to launch it, it crashes immediately and displays the following in the error report: Time Awake Since Boot: 12000 seconds Time Since Wake: 6500 seconds System Integrity Protection: enabled Crashed Thread: 0 Exception Type

“Vary for Traits” not working as expected

荒凉一梦 提交于 2020-05-14 17:48:21
问题 From what I understand as explained in the answer to this question you can resize which ever component on the storyboard for any device that you want, well that right there is the where the problem occurs.. I have an image which the regular resolution of it is : 353x229 and this image looks huge on the iPhone 4s screen so I want to resize it to 300x194 only on the 4s screen and this is how I do it : First I click on the Vary for Traits button, then I click on the image and then click on the

Command failed due to signal: Segmentation fault: 11 while archiving

China☆狼群 提交于 2020-05-12 21:17:26
问题 I tried to archive my App and get this error: Command failed due to signal: Segmentation fault: 11 When I Build it everything went fine, also on real devices. While archiving this happens. Any Ideas how to fix ? This is a part of the error: 0 swift 0x000000010f79f3ad PrintStackTraceSignalHandler(void*) + 45 1 swift 0x000000010f79eb56 SignalHandler(int) + 790 2 libsystem_platform.dylib 0x00007fffc82d5bba _sigtramp + 26 3 libsystem_platform.dylib 0x0000000000000040 _sigtramp + 936551584 4 swift

Command failed due to signal: Segmentation fault: 11 while archiving

╄→гoц情女王★ 提交于 2020-05-12 21:15:54
问题 I tried to archive my App and get this error: Command failed due to signal: Segmentation fault: 11 When I Build it everything went fine, also on real devices. While archiving this happens. Any Ideas how to fix ? This is a part of the error: 0 swift 0x000000010f79f3ad PrintStackTraceSignalHandler(void*) + 45 1 swift 0x000000010f79eb56 SignalHandler(int) + 790 2 libsystem_platform.dylib 0x00007fffc82d5bba _sigtramp + 26 3 libsystem_platform.dylib 0x0000000000000040 _sigtramp + 936551584 4 swift

How to install Xcode from xip file

谁都会走 提交于 2020-05-10 03:37:31
问题 I am very new to macOS, I just need a mac with Xcode to compile my app. However, with macOS Sierra, I have a problem with my USB that is not working anymore (i can't plug my ipad pro) Under OSX el capitan my usb works great, but now the problem is that app store offer me to download the Xcode 8.3 only that can work only on Sierra (strange they offer you to download something not compatible with your system but doesn't matter, it's apple). so the only way i have is to download manually the

What is Mach-O type should I use it in my iOS Objective-C project?

狂风中的少年 提交于 2020-04-28 09:59:23
问题 What is Mach-O type in Build Setting in Xcode? and what should it be Set on? it has these options "Executable" "Dynamic Library" "Bundle" "Static Library" "Relocatable Object File" I had an error "Apple Mach-O Linker Error Group" since I changed it from Executable to Static Library my error went off, I wanna know is that ok that I changed it? and what all those options mean so I won't face another error in the future. 回答1: For more detail Building Mach-O Files and Xcode Build Setting

iOS10 适配、Xcode8配置总结

会有一股神秘感。 提交于 2020-04-08 13:52:32
随着iOS10的推送更新到来,勤劳的程序员又在加班加点的搬砖了,为此收集了一些iOS10 更新的技能给大伙参考,不断更新喜欢就star 前沿 一、Xcode8 插件你去哪了 以为是和之前一样 Xcode 升级了,只需要更新 Xcode info.plsit 中的 DVTPlugInCompatibilityUUID,结果发现一点用都木有泪奔;苹果解决xcode ghost,把插件屏蔽了,为此也给大伙找到了相关的解决方法,但是不怎么推荐这样做,因为烦的是不能够上传 iTunes content https://github.com/inket/update_xcode_plugins 还有一种方案就是Xcode自带的注释插件! 解决方法 打开终端,命令运行: sudo /usr/libexec/xpccachectl 然后必须重启电脑后生效 注意:Xcode8内置了开启注释的功能,位置在这里 快捷键:option + common + / 01.png 二、隐私权限以及相关设置 注意,info.plist 不加对应字段,访问相册,通讯录,同时添加的时候,结尾尾不要有空格 警告: 近期有小伙伴们用Xcode 8打包上传App,本地验证和ipa上传都正常。但是itunes connect后台的构建版本一直出不来,手机APP 端的 itunes connect收到push通知提示

Cannot wait for the result of MKDirections.calculate, getting nil instead of it

ぃ、小莉子 提交于 2020-03-23 12:03:36
问题 I would like to calculate the real walking distance between my current location and a list of CLLocation s using MKDirections.calculate . However, for some reason the return command at the end of the function does not wait for the result and tries to return the empty variable. My code looks like this: func getDistance (location1: CLLocation, location2: CLLocation) { let coordinates1 = location1.coordinate let placemark1 = MKPlacemark(coordinate: coordinates1) let sourceItem = MKMapItem