xcode7-beta2

Xcode can't see objects added via Cocoapods

邮差的信 提交于 2020-01-13 07:47:07
问题 I have a podfile defined with the following pods. platform :ios, '8.0' use_frameworks! target 'LifeStream' do pod 'SSKeychain' pod 'LiveSDK' pod 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire.git', :branch => 'swift-2.0' end I installed the pods and opened up my workspace. I have found that any usage of Alamofire works fine, due to the Swift 2 version of it importing the project as a framework. When I try to use SSKeychain classes however, I receive a Use of unresolved

Swift- MKMapkit view only one city?

心不动则不痛 提交于 2020-01-03 05:42:27
问题 I'm trying to make an app viewing the college I'm going to but I'm having trouble only viewing the one city. I'm trying to make sure that the user cannot scroll past the city. I'm then trying to overlay that region. I thought the setRegion method would help fix that issue but apparently not. Any suggestions on how to set the region in which the user cannot surpass? super.viewDidLoad() // Do any additional setup after loading the view, typically from a nib. // sets maps to univeristy var

Cannot use unarchiveFromFile to set GameScene in SpriteKit

冷暖自知 提交于 2019-12-31 05:45:16
问题 I'm using Xcode 7 beta 2 and following raywenderlich.com's Breakout tutorial to learn SpriteKit. Here's the error I get when I try to load GameScene using unarchiveFromFile. GameScene.type does not have a member named unarchiveFromFile. Here's the code: func didBeginContact(contact: SKPhysicsContact) { // 1. Create local variables for two physics bodies var firstBody: SKPhysicsBody var secondBody: SKPhysicsBody // 2. Assign the two physics bodies so that the one with the lower category is

Compiling C Library for iOS 9 From Command Line, Xcode 7-beta 2

こ雲淡風輕ζ 提交于 2019-12-30 07:31:43
问题 I am having trouble compiling a C library (gmp) for iOS 9 using the latest Xcode 7-beta clang. I am trying to produce bitcode to get all the warnings in Xcode to stop (and I would like to produce these libraries in bitcode). However, I can't even compile the library in the first place. ./configure fails, and after looking at the config.log, it seems ld is the problem as it is failing with "ld: library not found for -lSystem". Here is the command I have used to compile gmp in the past : .

Compilation errors in xCode 7 + Swift 2.0

随声附和 提交于 2019-12-25 06:19:07
问题 Since I have installed the xCode 7 beta2 + Swift 2.0, I'm getting some errors in my app. For example, I'm getting the following error "Cannot invoke 'requestAccessToEntityType' with an argument list of type '(EKEntityType, completion: (Bool, NSError!) -> _)' in this part of code: eventStore.requestAccessToEntityType(EKEntityType.Event, completion: {(granted: Bool, error:NSError!) in if !granted { print("Access to store not granted") } }) Also this error: Cannot invoke

Unsupported compiler 'com.apple.compilers.llvm.clang.1_0' selected for architecture 'x86_64' on Xcode 7 Beta 2

拜拜、爱过 提交于 2019-12-19 19:54:55
问题 When I incorporated a popular OAuth2 library in iOS called OAuth2Client to my iOS app which is developed on Xcode 7 Beta 2 and then tried running the simulator, the following error occurred and the simulator didn't launch. Unsupported compiler 'com.apple.compilers.llvm.clang.1_0' selected for architecture 'x86_64' What does this error mean? A lot of warnings (yellow triangle) followed with the error above (red octagon), such as: warning: no rule to process file '/Users/myUsername/myAppname

Xcode 7 beta 2: LaunchScreen.storyboard could not open document

[亡魂溺海] 提交于 2019-12-18 19:27:12
问题 I am getting this error on two different Macs (iMac and Mac Book pro). No idea why people can't reproduce it but I need some help. I am running Xcode 7 beta 2 (23 June '15) on a Mac running OS X Yosemite 10.10.4 . Can't even compile and run my project.. I created a single view application project from the create menu, and that's it. EDIT: I tried to delete and re-add the storyboard file (also the Main.storyboard cannote be opened) and I still get the same message. This is the crash report:

Undefined symbols for architecture i386 using libsqlite3.dylib with FMDB Xcode 7 ios9

本秂侑毒 提交于 2019-12-11 14:32:18
问题 I am using Xcode 7 and iOS 9 to create a simple app which saves the data and retrieves it using sqllite3. However I am getting the following error message while Building the app using libsqlite3.dylib library and FMDB retrieved from github. Undefined symbols for architecture i386: "_sqlite3_bind_blob", referenced from: -[FMDatabase bindObject:toColumn:inStatement:] in FMDatabase.o "_sqlite3_bind_double", referenced from: -[FMDatabase bindObject:toColumn:inStatement:] in FMDatabase.o "_sqlite3

Xcode 7.0 Beta fails to launch a watchOS 2 App on Apple Watch

依然范特西╮ 提交于 2019-12-07 03:58:47
问题 Tried a public sample code project and my own project. Observe no problem with watchOS 1. watchOS 2 App installs and operates successfully on the real Apple Watch and the simulator, but it won't support the debug mode launching the app on the device by Xcode. Tried to allow the system to create the Provisioning files and manually create the Provisioning files for the development mode. Test on 10.10, 10.11. Steps to Reproduce: Set up the Provisioning files on build settings, watchOS 2

Xcode 7.0 Beta fails to launch a watchOS 2 App on Apple Watch

人盡茶涼 提交于 2019-12-05 08:01:45
Tried a public sample code project and my own project. Observe no problem with watchOS 1. watchOS 2 App installs and operates successfully on the real Apple Watch and the simulator, but it won't support the debug mode launching the app on the device by Xcode. Tried to allow the system to create the Provisioning files and manually create the Provisioning files for the development mode. Test on 10.10, 10.11. Steps to Reproduce: Set up the Provisioning files on build settings, watchOS 2 environment and etc. Go to the scheme on the left top of the Xcode 7.0 beta and choose the iPhone and Apple