Search results for

“xcode github”

95,413 results found

Post

Replies

Boosts

Views

Activity

Unable to download any beta software :(
Has anyone else experienced the problem when you try to download ios9, wos2, swift, xcode that you get redirected to your member account page and have to login. I am not receiving any of the 'sent' verification emails to confirm my account again. I've been a developer since 2011 and now it wants me to re-confirm....help please!-v4
3
0
560
Jun ’15
Reply to Can't download IOS 9 \ Xcode 7
I have the same problem.I just renewed my developer account and wanted to download Xcode 7 beta --> Redirection to My Apple IDTried to click on: Verification email sent. Resend >But this does not workI see no other possibility to verify my primary e-mail and I do not see a possibility to change my primary e-mail.Any help is appreciated
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Command Line Tool - Can't link to custom Swift Framework
With OS X Yosemite and Xcode 6, it was not possible to build a Swift command line tool that link to my own made or third party Swift Frameworks.Chris Lattner well explained in June 2014 to the community that we have to wait for ABI to reach the required level of stability, and because subject to change, the Swift libraries must be embedded in each app. Since a a Command Line Tool is not a bundle, we can't embed binaries.Fast forward today June 2015 we have OS X El Capitan beta, Xcode 7 beta and Swift 2.0.Under Yosemite, using Xcode 7 I recompiled my stuff to Swift 2.0 but I still can't link my Command Line Tool to the Swift Framework.Is someone have do similar build with success ? Do I need to build and run my Coammand Line Tool under El Capitan ?If its still not possible, I would like to know when the Swift ABI is planned for enough satbility and sytem level availabilty ?Thanks,Datagram
5
0
2.4k
Jun ’15
Questions about NSCalendar
Here's a code snippet that compiles and works as expected, but I get a warning for depricated use of the unit .NSYearCalendarUnit. This is within XCode 7 (Swift 2.0)Playground execution failed: /var/folders/37/2hl0kpw50lv18q1d48gbbb5r0000gn/T/./lldb/16158/playground8.swift:52:20: warning: 'NSYearCalendarUnit' was deprecated in iOS 8.0: Use NSCalendarUnitYear insteadvar TermEndDate = NSDate() if (TermYears>0) { TermEndDate = userCalendar.dateByAddingUnit( NSCalendarUnit.NSYearCalendarUnit, value: TermYears, toDate: TermStartDate, options: .WrapComponents )! } if (leaseMonths>0) { TermEndDate = userCalendar.dateByAddingUnit( NSCalendarUnit.NSMonthCalendarUnit, value: TermMonths, toDate: TermEndDate, options: .WrapComponents )! } If I switch to the recommended syntax, it errors out. /var/folders/37/2hl0kpw50lv18q1d48gbbb5r0000gn/T/./lldb/16158/playground8.swift:60:5: error: 'NSCalendarUnit.Type' does not have a member named 'NSCalendarUnitMonth'NSCalendarUnit.NSCalendarUnitMonth,^ ~~~~~~~~~~~~~~~~
7
0
3.4k
Jun ’15
Reply to Questions about NSCalendar
Also.... I found a very informative website that has a ton of examples specifically on how to work with dates within Swift.Here's a code snippet that he uses as an example, but does not compile for me, and I have no idea why I get the error: could not find member 'CalendarUnitDay'. Was this syntax changed with Swift 2.0?Every example I could find uses this syntax, but for me... no luck.// Playground - noun: a place where people can play import UIKit let userCalendar = NSCalendar.currentCalendar() // Let's create some dates to work with // ==================================== // It's 3:45:30 a.m., New Year's Day. Time to go home. let goHomeYoureDrunkTimeComponents = NSDateComponents() goHomeYoureDrunkTimeComponents.year = 2015 goHomeYoureDrunkTimeComponents.month = 1 goHomeYoureDrunkTimeComponents.day = 1 goHomeYoureDrunkTimeComponents.hour = 3 goHomeYoureDrunkTimeComponents.minute = 45 goHomeYoureDrunkTimeComponents.second = 30 let goHomeYoureDrunkTime = userCalendar.dateFromComponents(goHomeYoureDrunkTimeCom
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Reply to Questions about NSCalendar
They renamed some enums / options to be more consistent.In Swift, it would now be NSCalendarUnit.Year (type NSCalendarUnit, case .Year). If you double command-click on NSCalendarUnit (or NSYearCalendarUnit) in Xcode in your playground, it will pull up the Swift version of the header.And as far as the example code goes, OptionSets are handled differently now in Swift 2.0 and use set syntax instead of bitwise operators to join and test them.See the Xcode 7 beta release notes or https://forums.developer.apple.com/thread/3623 for more info on that.
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
How do I link against .tbd files in Xcode 7?
I need to link libz in my project. Normally I would add libz.dylib under the Linked Frameworks and Libraries settings, but now there are only .tbd files and no .dylib files when you search the list of libraries to add. When building I get a warning: skipping file '/Users/me/xcode7/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/usr/lib/libz.tbd' (unexpected file type 'text' in Frameworks & Libraries build phase)Then I build fails with linker errors because of missing symbols. Am I missing something new in the way libraries are linked?
29
0
104k
Jun ’15
Address Sanitizer crashes app when using two EAGLContexts
Using Xcode 7 beta, running the following OpenGL ES 2 code on Debug configuration on a iPhone 6 device running iOS 8.3, with Address Sanitizer enabled for the scheme, crashes:#include <OpenGLES/ES2/glext.h> //... EAGLContext *contextA = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2]; if (!contextA || ![EAGLContext setCurrentContext:contextA]) { return; } GLuint renderBuffer = 0; glGenRenderbuffers(1, &renderBuffer); glBindRenderbuffer(GL_RENDERBUFFER, renderBuffer); [contextA renderbufferStorage:GL_RENDERBUFFER fromDrawable:nil]; GLuint frameBuffer = 0; glGenFramebuffers(1, &frameBuffer); glBindFramebuffer(GL_FRAMEBUFFER, frameBuffer); glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, renderBuffer); glFlush(); EAGLContext *contextB = [[EAGLContext alloc] initWithAPI:contextA.API sharegroup:contextA.sharegroup]; if (!contextB || ![EAGLContext setCurrentContext:contextB]) { return; } [contextB presentRenderbuffer:GL_RENDERBUFFER]; // EXC_BAD_AC
1
0
1k
Jun ’15
Xcode 7.0 Beta Throwing Heaps of Errors, update OS X?
Hello everyone,I just updated my iPhone 5S to iOS 9 Beta and Xcode to Xcode 7.0 Beta. I really regret doing this, since it messed everything up with my current projects in Xcode. I guess I just got excited to get the latest and greatest features. Anyways, Xcode is throwing tons of errors on my app. Some of them don't even make sense. Linker command failed, Unable to open executable MyAppTests. Stuff like that. I have tried the 'Convert to Latest Swift-Syntax' and that didn't seem to do anything with the errors.Should I update to the El Capitan Beta in order to elminate these errors? Or will that have absolutely no impact on my issue?Thanks in advance,I wish I had just waited for the GM updates.-Me
2
0
383
Jun ’15
Reply to Can't download Xcode7
bump. anyone with a solution or options, still haven't been able to download anything: xcode, ios9, swift, wOS2
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Unable to download any beta software :(
Has anyone else experienced the problem when you try to download ios9, wos2, swift, xcode that you get redirected to your member account page and have to login. I am not receiving any of the 'sent' verification emails to confirm my account again. I've been a developer since 2011 and now it wants me to re-confirm....help please!-v4
Replies
3
Boosts
0
Views
560
Activity
Jun ’15
Xcode 7 possible bug - SourceKitService
Hello everyone,I'm getting the old SourceKit errors I used to get every now and then with the Xcode 6/iOS8 beta, but now on iOS 9/Xcode 7.In the Console.app I can see that the SourceKitService closes with SEGMENTATION FAULT CODE 11.Any fix you guys found? Suggestions?
Replies
1
Boosts
0
Views
1.2k
Activity
Jun ’15
Reply to Can't download IOS 9 \ Xcode 7
I have the same problem.I just renewed my developer account and wanted to download Xcode 7 beta --> Redirection to My Apple IDTried to click on: Verification email sent. Resend >But this does not workI see no other possibility to verify my primary e-mail and I do not see a possibility to change my primary e-mail.Any help is appreciated
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Command Line Tool - Can't link to custom Swift Framework
With OS X Yosemite and Xcode 6, it was not possible to build a Swift command line tool that link to my own made or third party Swift Frameworks.Chris Lattner well explained in June 2014 to the community that we have to wait for ABI to reach the required level of stability, and because subject to change, the Swift libraries must be embedded in each app. Since a a Command Line Tool is not a bundle, we can't embed binaries.Fast forward today June 2015 we have OS X El Capitan beta, Xcode 7 beta and Swift 2.0.Under Yosemite, using Xcode 7 I recompiled my stuff to Swift 2.0 but I still can't link my Command Line Tool to the Swift Framework.Is someone have do similar build with success ? Do I need to build and run my Coammand Line Tool under El Capitan ?If its still not possible, I would like to know when the Swift ABI is planned for enough satbility and sytem level availabilty ?Thanks,Datagram
Replies
5
Boosts
0
Views
2.4k
Activity
Jun ’15
Reply to Swift 2.0 in iOS 7?
Perhaps more importantly, will the iOS 7.1 simulator still be supported from Xcode 7. I can't currently get it to work, despite being recognized by Xcode.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Questions about NSCalendar
Here's a code snippet that compiles and works as expected, but I get a warning for depricated use of the unit .NSYearCalendarUnit. This is within XCode 7 (Swift 2.0)Playground execution failed: /var/folders/37/2hl0kpw50lv18q1d48gbbb5r0000gn/T/./lldb/16158/playground8.swift:52:20: warning: 'NSYearCalendarUnit' was deprecated in iOS 8.0: Use NSCalendarUnitYear insteadvar TermEndDate = NSDate() if (TermYears>0) { TermEndDate = userCalendar.dateByAddingUnit( NSCalendarUnit.NSYearCalendarUnit, value: TermYears, toDate: TermStartDate, options: .WrapComponents )! } if (leaseMonths>0) { TermEndDate = userCalendar.dateByAddingUnit( NSCalendarUnit.NSMonthCalendarUnit, value: TermMonths, toDate: TermEndDate, options: .WrapComponents )! } If I switch to the recommended syntax, it errors out. /var/folders/37/2hl0kpw50lv18q1d48gbbb5r0000gn/T/./lldb/16158/playground8.swift:60:5: error: 'NSCalendarUnit.Type' does not have a member named 'NSCalendarUnitMonth'NSCalendarUnit.NSCalendarUnitMonth,^ ~~~~~~~~~~~~~~~~
Replies
7
Boosts
0
Views
3.4k
Activity
Jun ’15
Reply to Questions about NSCalendar
Also.... I found a very informative website that has a ton of examples specifically on how to work with dates within Swift.Here's a code snippet that he uses as an example, but does not compile for me, and I have no idea why I get the error: could not find member 'CalendarUnitDay'. Was this syntax changed with Swift 2.0?Every example I could find uses this syntax, but for me... no luck.// Playground - noun: a place where people can play import UIKit let userCalendar = NSCalendar.currentCalendar() // Let's create some dates to work with // ==================================== // It's 3:45:30 a.m., New Year's Day. Time to go home. let goHomeYoureDrunkTimeComponents = NSDateComponents() goHomeYoureDrunkTimeComponents.year = 2015 goHomeYoureDrunkTimeComponents.month = 1 goHomeYoureDrunkTimeComponents.day = 1 goHomeYoureDrunkTimeComponents.hour = 3 goHomeYoureDrunkTimeComponents.minute = 45 goHomeYoureDrunkTimeComponents.second = 30 let goHomeYoureDrunkTime = userCalendar.dateFromComponents(goHomeYoureDrunkTimeCom
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to Questions about NSCalendar
They renamed some enums / options to be more consistent.In Swift, it would now be NSCalendarUnit.Year (type NSCalendarUnit, case .Year). If you double command-click on NSCalendarUnit (or NSYearCalendarUnit) in Xcode in your playground, it will pull up the Swift version of the header.And as far as the example code goes, OptionSets are handled differently now in Swift 2.0 and use set syntax instead of bitwise operators to join and test them.See the Xcode 7 beta release notes or https://forums.developer.apple.com/thread/3623 for more info on that.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’15
How do I link against .tbd files in Xcode 7?
I need to link libz in my project. Normally I would add libz.dylib under the Linked Frameworks and Libraries settings, but now there are only .tbd files and no .dylib files when you search the list of libraries to add. When building I get a warning: skipping file '/Users/me/xcode7/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/usr/lib/libz.tbd' (unexpected file type 'text' in Frameworks & Libraries build phase)Then I build fails with linker errors because of missing symbols. Am I missing something new in the way libraries are linked?
Replies
29
Boosts
0
Views
104k
Activity
Jun ’15
playground in xcode
whats the fastest way tocreat a app using xcode
Replies
0
Boosts
0
Views
344
Activity
Jun ’15
Address Sanitizer crashes app when using two EAGLContexts
Using Xcode 7 beta, running the following OpenGL ES 2 code on Debug configuration on a iPhone 6 device running iOS 8.3, with Address Sanitizer enabled for the scheme, crashes:#include <OpenGLES/ES2/glext.h> //... EAGLContext *contextA = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2]; if (!contextA || ![EAGLContext setCurrentContext:contextA]) { return; } GLuint renderBuffer = 0; glGenRenderbuffers(1, &renderBuffer); glBindRenderbuffer(GL_RENDERBUFFER, renderBuffer); [contextA renderbufferStorage:GL_RENDERBUFFER fromDrawable:nil]; GLuint frameBuffer = 0; glGenFramebuffers(1, &frameBuffer); glBindFramebuffer(GL_FRAMEBUFFER, frameBuffer); glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, renderBuffer); glFlush(); EAGLContext *contextB = [[EAGLContext alloc] initWithAPI:contextA.API sharegroup:contextA.sharegroup]; if (!contextB || ![EAGLContext setCurrentContext:contextB]) { return; } [contextB presentRenderbuffer:GL_RENDERBUFFER]; // EXC_BAD_AC
Replies
1
Boosts
0
Views
1k
Activity
Jun ’15
Xcode 7.0 Beta Throwing Heaps of Errors, update OS X?
Hello everyone,I just updated my iPhone 5S to iOS 9 Beta and Xcode to Xcode 7.0 Beta. I really regret doing this, since it messed everything up with my current projects in Xcode. I guess I just got excited to get the latest and greatest features. Anyways, Xcode is throwing tons of errors on my app. Some of them don't even make sense. Linker command failed, Unable to open executable MyAppTests. Stuff like that. I have tried the 'Convert to Latest Swift-Syntax' and that didn't seem to do anything with the errors.Should I update to the El Capitan Beta in order to elminate these errors? Or will that have absolutely no impact on my issue?Thanks in advance,I wish I had just waited for the GM updates.-Me
Replies
2
Boosts
0
Views
383
Activity
Jun ’15
Reply to Playground not displaying output
I have this problem, too. No output in playgrounds.The right bar, where it should be, is empty. I'm running Xcode 7 Beta on an old MacBook with OS X 10.10.3. I've tried everything I could find online about this. No luck.
Replies
Boosts
Views
Activity
Jun ’15
Test my app on iPhone without membership
Hello,at WWDC2015 Apple allowed that there is no need to pay $99 for testing iOS app on my iPhone.So, I downloanded Xcode 7 beta and I want to compile and debug (play button) to my connected iPhone via cable.It still says that I don´t have my account in Developer Program.How I can proceed?Thank you
Replies
2
Boosts
0
Views
617
Activity
Jun ’15