xcode8

dyld: Symbol not found: _kABPersonAddressCityKey XCODE 8 issue

妖精的绣舞 提交于 2019-12-22 05:49:25
问题 Hi My code was running perfectly in xcode 7.x.x As soon as i updated my xcode i am getting this issue please give me the solution for this. Details : dyld: Symbol not found: _kABPersonAddressCityKey Referenced from: /var/containers/Bundle/Application/0A16B18D-CB72-4FCA-94F7-422AFD1411AD/ABCD.app/ABCD Expected in: /System/Library/Frameworks/PassKit.framework/PassKit in /var/containers/Bundle/Application/0A16B18D-CB72-4FCA-94F7-422AFD1411AD/ABCD.app/ABCD 回答1: Add PassKit.framework to your Link

Xcode 8.2.1 - Error: Invalid bitcode version (Producer: '802.0.41.0_0' Reader: '800.0.42.1_0')

柔情痞子 提交于 2019-12-22 05:00:30
问题 I'm trying to implement the new Facebook Audience Network iOS SDK v4.22.0, but when I compile the project I get the following error: error: Invalid bitcode version (Producer: '802.0.41.0_0' Reader: '800.0.42.1_0') clang: error: linker command failed with exit code 1 (use -v to see invocation) I also got this error with the iOS SDK v4.21.1, but not with the v4.20.0. I'm using Xcode 8.2.1 and Objective-C, and the bitcode option in Build Settings is set to No . Here is the Facebook Audience

[CIContext initWithOptions:]: unrecognized selector sent to instance 0x170400960 in xcode8

白昼怎懂夜的黑 提交于 2019-12-22 03:33:08
问题 run in ios8.3 ,but run in ios9 or 10 hasn't this problem. -[CIContext initWithOptions:]: unrecognized selector sent to instance 0x170400960 2016-09-19 18:08:21.025 *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[CIContext initWithOptions:]: unrecognized selector sent to instance 0x170400960' *** First throw call stack: (0x186d8c2d8 0x1985b00e4 0x186d933a4 0x186d90154 0x186c92ccc 0x1001c1e74 0x1001c1b7c 0x1001c143c 0x1001c1cfc 0x100311e0c 0x1003116d0

xcode 8 Debugger 'Could not resolve type'

徘徊边缘 提交于 2019-12-22 03:11:02
问题 In Xcode 8, When any break point is hit, and I try to print any object in the Xcode debugger, it always prints "Could not resolve type" . I have searched enough on the internet. I have checked if EditScheme->Run->Info->BuildConfiguration is set to 'Debug'. Build setting->Optimisation level is set to 'None'. But no clues on why this happens. Could anyone help me out here? Thanks in advance. 回答1: I encountered a similar issue with a pure swift framework that doesn't have any bridging headers

xcode 8 Debugger 'Could not resolve type'

别来无恙 提交于 2019-12-22 03:10:14
问题 In Xcode 8, When any break point is hit, and I try to print any object in the Xcode debugger, it always prints "Could not resolve type" . I have searched enough on the internet. I have checked if EditScheme->Run->Info->BuildConfiguration is set to 'Debug'. Build setting->Optimisation level is set to 'None'. But no clues on why this happens. Could anyone help me out here? Thanks in advance. 回答1: I encountered a similar issue with a pure swift framework that doesn't have any bridging headers

Exception occurred when creating MZContentProviderUpload for provider. (1004)

被刻印的时光 ゝ 提交于 2019-12-22 01:35:09
问题 I tried to upload the app build using Xcode but I got this error "no accounts with itunes connect access" I then tried to upload the IPA using application loader and I got this error "Exception occurred when creating MZContentProviderUpload for provider. (1004)" 回答1: It seems like a temporary issue with apple. Trying few times to send worked and the upload was successful. 回答2: For me just log out on Web iTunesConect / AppsoreConnect portal. Quit Xcode (if Possible restart) and then upload the

Unable to tap (x,y) coordinate in landscape mode

拜拜、爱过 提交于 2019-12-21 20:28:36
问题 In Xcode 8 / Swift 3, using the coordinate(withNormalizedOffset: CGVector) function to interact with an XCUIElement appears to work only in portrait mode. To test this functionality, I created a single screen project with a button centered in the view. I then ran the following UI test: func testExample() { XCUIDevice.shared().orientation = .portrait let window = XCUIApplication().windows.element(boundBy: 0) let centerPoint = window.coordinate(withNormalizedOffset: CGVector(dx: 0.5, dy: 0.5))

Getting Firebase MobileAssetError warning in XCode 8

橙三吉。 提交于 2019-12-21 16:51:55
问题 Just downloaded XCODE 8 and IOS 10 on my iphone. I am getting some Firebase warnings on Xcode, but read that they were working on it and that you could continue to run simulator on your phone with no problems. The build succeeds but then I get this output on Xcode: 2016-09-15 15:04:54.598607 TheApp[443:51993] [MC]System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles 2016-09-15 15:04

NSDate from Swift 2.3 to Date from Swift 3 Conversion

♀尐吖头ヾ 提交于 2019-12-21 09:28:34
问题 So I've just updated to Xcode 8 and converted my Swift 2.3 code to Swift 3, and Swift 3 just converted all NSDate to Foundation.Date And I had an extension for NSDate , now called Foundation.Date , it looked like this: extension NSDate { var firstDayOfTheMonth:NSDate { var date: NSDate? NSCalendar.currentCalendar().rangeOfUnit(.Month, startDate:&date , interval: nil, forDate: self) return date! } } And Swift 3 converted it to this: extension Foundation.Date { var firstDayOfTheMonth:Foundation

How to enable Visual Memory Debugger in Xcode 8?

懵懂的女人 提交于 2019-12-21 07:35:14
问题 I migrated a project from the previous version of Xcode to Xcode 8. What I want is to use the new visual memory debugger. It's available in new projects, but is entirely missing in my imported one. Why is this? 回答1: It appears that Swift 3 is required for Visual Memory Debugger to work. My app migrated to Swift 2.3 did not work, when I tried migrating it to Swift 3.0 it worked instantly. The runtime sanitization checkbox is not required for visual memory debugger to work, however the reason