xcode7-beta2

iOS library to BitCode

南楼画角 提交于 2019-11-26 21:26:11
I recently downloaded Xcode 7 beta, and Xcode complains about some of my C libraries not being compiled into BitCode. How would I go about telling Clang to produce BitCode that is compatible with iOS? I've seen similar answers on stackoverflow, but I don't know if they apply to producing BitCode libraries for iOS. Edit: I am using the correct setting, -fembed-bitcode, but when I try to archive, I get the error: ld: warning: ignoring file XXXX/XXXX, file was built for archive which is not the architecture being linked (arm64). When I use -fembed-bitcode-marker, I can archive, but I get the

ld: framework not found Parse Xcode 7 beta

回眸只為那壹抹淺笑 提交于 2019-11-26 18:13:26
问题 I succeed to install and use Parse framework with my new project, but I can't with a "template project". The template is just a Slide Menu from Appcoda You can download the project here. I have this error : ld: framework not found Parse clang: error: linker command failed with exit code 1 (use -v to see invocation) And the same for Bolts. I don't understand what the problem is, the initial project is just some View Controllers... When I write the code "import Parse", the error message is : No

Swift debugger does not show variable values when importing ObjC framework

淺唱寂寞╮ 提交于 2019-11-26 15:52:46
问题 When I create a new OS X "Game" project with Sprite Kit, and set a breakpoint anywhere I can see the variable values just fine: Then I change the code to import my own framework (TilemapKit) which is a pure Objective-C framework: import SpriteKit import TilemapKit class GameScene: SKScene { override func didMoveToView(view: SKView) { print("dang!") } } No other changes made. I'm not even using any of the TilemapKit code (yet). When the breakpoint triggers, I see this: The entire project stops

How can I run the iOS 7.1 Simulator in Xcode 7.0 beta 2?

让人想犯罪 __ 提交于 2019-11-26 10:25:27
问题 I have installed latest Xcode 7 beta 2 version, when I am trying to run the application in iOS 7.1 Simulator its giving this error message: The iOS 7.1 simulator runtime is not available. Unable to open liblaunch_sim.dylib. Try reinstalling Xcode or the simulator runtime. Could you please let me know how to resolve this error? 回答1: You can't (At least in an Official way). Taken from Xcode Beta 2 Documentation (Page 7). Hope it helps. EDIT SEPT - 2015: Thanks Cœur for the info, now you can use

iOS library to BitCode

怎甘沉沦 提交于 2019-11-26 06:59:28
问题 I recently downloaded Xcode 7 beta, and Xcode complains about some of my C libraries not being compiled into BitCode. How would I go about telling Clang to produce BitCode that is compatible with iOS? I\'ve seen similar answers on stackoverflow, but I don\'t know if they apply to producing BitCode libraries for iOS. Edit: I am using the correct setting, -fembed-bitcode, but when I try to archive, I get the error: ld: warning: ignoring file XXXX/XXXX, file was built for archive which is not

Swift: Extra argument 'error' in call

纵然是瞬间 提交于 2019-11-25 22:46:28
问题 I\'m currently developing my first iOS app using Swift 2.0 and Xcode Beta 2. It reads an external JSON and generates a list in a table view with the data. However, I\'m getting a strange little error that I can\'t seem to fix: Extra argument \'error\' in call Here is a snippet of my code: let task = session.dataTaskWithURL(url!, completionHandler: {data, response, error -> Void in print(\"Task completed\") if(error != nil){ print(error!.localizedDescription) } var err: NSError? if let