Search results for

“xcode github”

95,396 results found

Post

Replies

Boosts

Views

Activity

Reply to IOS 9 beta 1OTA
Hope you're able to get your PC repaired soon.iOS updates traditionally have only been offered as firmware files from the developer portal. This is been my experience.Per requirements, your device must be registered as a development device in Xcode. I don't know, officiallly, if restoring it from a PC is advisedanyway. Consider trying again from a Mac.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to I want to put bordercolor with uiview by swift.
Thank you.I probably resolved this problem.'User Defined Runtime Attributes' was good clue for me.I tried the following code by referencing https://www.weheartswift.com/make-awesome-ui-components-ios-8-using-swift-xcode-6/@IBDesignableclass BorderView: UIView { @IBInspectable var cornerRadius: CGFloat = 5 { didSet { layer.cornerRadius = cornerRadius layer.masksToBounds = cornerRadius > 0 } } @IBInspectable var borderWidth: CGFloat = 1 { didSet { layer.borderWidth = borderWidth } } @IBInspectable var borderColor: UIColor? = UIColor.blueColor() { didSet { layer.borderColor = borderColor?.CGColor } }}if i tried above file on another project,it ran correctly.if i couldn't run correctly another project,i would write it.Thank you.
Topic: UI Frameworks SubTopic: UIKit Tags:
Jun ’15
Reply to Any news on reflection in Swift 2.0?
I don't know enough about MirrorType's capabilities to say if it's completely the same, but the parts I want still don't work (at least not in the playground, running Xcode 7.0 beta (7A120f) on 10.10.3):import Cocoa let str = Hello, playground let strReflect = reflect(str) let works = str.dynamicType()//creates a new string let doesNotWork1 = strReflect.value.dynamicType()// 'Any' cannot be constructed... let doesNotWork2 = strReflect.valueType() // sameIf there's something in particular you want tested, I'll be happy to try it and let you know what happens.
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Cannot redeem the code.
Hello! I have a MacBook Pro Mid 2014 with OS X 10.10.4 installed and recently was going to update to OS X 10.11 but when I press download developer beta it does launch the app store but it doesnt get me to any page. I tried to manually enter the code, but when I do that it says Your code could not be redeemed at this time!
1
0
394
Jun ’15
Reply to iPhone + (null) (paired device OS version)
i was seeing this as well. Tried reboots of mac, phone, and watch. Lots of error messages being displayed in console. I reinstalled xcode, installed the watchos profile on my phone, I also switched to a different lightning cable in a different port. After that last one opening Xcode and my phone appeared along with the watch. I'm still seeing RST requests in console from my phone but Xcode is at least acknowledging the devices. It could see the phone on its own in non watch projects.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Xcode 7 Documentation Download: "image not recognized"
I have downloaded the Xcode 7 beta, and am in the process of trying to download the documentation. However, for all four docsets, I receive the following error message:Could not download and install Xcode 7 Documentation. Failed to mount file:///Users/<user>/Library/Caches/com.apple.dt.Xcode/Downloads/<docset>.dmg at file:///var/folders/vc/<random string>/T/attached-image-<random string>/: image not recognizedI have tried clearing out ~/Library/Caches/com.apple.dt.Xcode, and restart both Xcode and my machine, but keep encountering this error. How can I resolve this?Thanks.
1
0
767
Jun ’15
Loading an .Obj model file
I created a simple model in an obj and attempted to load it as an Assetlet bundle = NSBundle.mainBundle() let path = bundle.pathForResource(Torus, ofType: obj) var torusModel = MDLAsset(URL: NSURL(string: path!)!)Error message: Could not load data from /Users/jason/Library/Developer/Xcode/DerivedData/MetalDemo-auxpwrdxoklbrpbtkxmrhkecewhb/Build/Products/Debug/Met ... orus.obj
7
0
35k
Jun ’15
Reply to linker command failed with exit code 1 (use -v to see invocation)
From all the parts that say /Users/nathan it looks like you possibly have a trailing space in your OS X username, or similar, somehow. If that's the case, you could try renaming your home directory using the instructions at https://support.apple.com/en-us/HT201548Edit: Okay, it's even worse than a space. You somehow actually have a linefeed character at the end of your account name/home directory, or at least Xcode thinks you do.
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Reply to Testing Apps on iOS Devices without subscription
Have you added your free developer account in the Xcode preferences (tab accounts)?
Replies
Boosts
Views
Activity
Jun ’15
Swift refactoring in Xcode 7
Hi,I currently installed the latest version of Xcode 7 and there is also now refactoring support for Swift. Are there any plan to support this soon?
Replies
0
Boosts
0
Views
294
Activity
Jun ’15
Reply to linker command failed with exit code 1 (use -v to see invocation)
Hmm you could try deleting the DerivedData folder for the project. Perhaps something got messed in there.~/Library/Developer/Xcode/DerivedData/ProjectName
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to IOS 9 beta 1OTA
Hope you're able to get your PC repaired soon.iOS updates traditionally have only been offered as firmware files from the developer portal. This is been my experience.Per requirements, your device must be registered as a development device in Xcode. I don't know, officiallly, if restoring it from a PC is advisedanyway. Consider trying again from a Mac.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
iOS 9 Test Flight
Is their anyway to upload iOS 9 apps to test flight with Xcode 7 while in beta?
Replies
2
Boosts
0
Views
705
Activity
Jun ’15
Reply to I want to put bordercolor with uiview by swift.
Thank you.I probably resolved this problem.'User Defined Runtime Attributes' was good clue for me.I tried the following code by referencing https://www.weheartswift.com/make-awesome-ui-components-ios-8-using-swift-xcode-6/@IBDesignableclass BorderView: UIView { @IBInspectable var cornerRadius: CGFloat = 5 { didSet { layer.cornerRadius = cornerRadius layer.masksToBounds = cornerRadius > 0 } } @IBInspectable var borderWidth: CGFloat = 1 { didSet { layer.borderWidth = borderWidth } } @IBInspectable var borderColor: UIColor? = UIColor.blueColor() { didSet { layer.borderColor = borderColor?.CGColor } }}if i tried above file on another project,it ran correctly.if i couldn't run correctly another project,i would write it.Thank you.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to Any news on reflection in Swift 2.0?
I don't know enough about MirrorType's capabilities to say if it's completely the same, but the parts I want still don't work (at least not in the playground, running Xcode 7.0 beta (7A120f) on 10.10.3):import Cocoa let str = Hello, playground let strReflect = reflect(str) let works = str.dynamicType()//creates a new string let doesNotWork1 = strReflect.value.dynamicType()// 'Any' cannot be constructed... let doesNotWork2 = strReflect.valueType() // sameIf there's something in particular you want tested, I'll be happy to try it and let you know what happens.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’15
iPhone + (null) (paired device OS version)
I'm having a problem running my Xcode project on my Apple Watch. It says my iPhone + Apple Watch are ineligible because the OS on the watch doesn't support WatchKit App Products. My iPhone is running iOS 9 and my Watch is running watchOS 2. I've tried rebooting both devices and plugging/replugging in the iPhone.
Replies
4
Boosts
0
Views
7.2k
Activity
Jun ’15
Xcode 7 crashes when trying to select the Main.storyboard.
Even when building a new ios single view project, it will build and run, but I can't select the storyboard without xcode quitting. Needless to say, I'm dead in the water here.Any ideas? Anyone else having this problem after insalling osx 10.11 and xcode 7 ?
Replies
31
Boosts
0
Views
9.7k
Activity
Jun ’15
Cannot redeem the code.
Hello! I have a MacBook Pro Mid 2014 with OS X 10.10.4 installed and recently was going to update to OS X 10.11 but when I press download developer beta it does launch the app store but it doesnt get me to any page. I tried to manually enter the code, but when I do that it says Your code could not be redeemed at this time!
Replies
1
Boosts
0
Views
394
Activity
Jun ’15
Reply to iPhone + (null) (paired device OS version)
i was seeing this as well. Tried reboots of mac, phone, and watch. Lots of error messages being displayed in console. I reinstalled xcode, installed the watchos profile on my phone, I also switched to a different lightning cable in a different port. After that last one opening Xcode and my phone appeared along with the watch. I'm still seeing RST requests in console from my phone but Xcode is at least acknowledging the devices. It could see the phone on its own in non watch projects.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Xcode 7 Documentation Download: "image not recognized"
I have downloaded the Xcode 7 beta, and am in the process of trying to download the documentation. However, for all four docsets, I receive the following error message:Could not download and install Xcode 7 Documentation. Failed to mount file:///Users/<user>/Library/Caches/com.apple.dt.Xcode/Downloads/<docset>.dmg at file:///var/folders/vc/<random string>/T/attached-image-<random string>/: image not recognizedI have tried clearing out ~/Library/Caches/com.apple.dt.Xcode, and restart both Xcode and my machine, but keep encountering this error. How can I resolve this?Thanks.
Replies
1
Boosts
0
Views
767
Activity
Jun ’15
Loading an .Obj model file
I created a simple model in an obj and attempted to load it as an Assetlet bundle = NSBundle.mainBundle() let path = bundle.pathForResource(Torus, ofType: obj) var torusModel = MDLAsset(URL: NSURL(string: path!)!)Error message: Could not load data from /Users/jason/Library/Developer/Xcode/DerivedData/MetalDemo-auxpwrdxoklbrpbtkxmrhkecewhb/Build/Products/Debug/Met ... orus.obj
Replies
7
Boosts
0
Views
35k
Activity
Jun ’15
Reply to linker command failed with exit code 1 (use -v to see invocation)
From all the parts that say /Users/nathan it looks like you possibly have a trailing space in your OS X username, or similar, somehow. If that's the case, you could try renaming your home directory using the instructions at https://support.apple.com/en-us/HT201548Edit: Okay, it's even worse than a space. You somehow actually have a linefeed character at the end of your account name/home directory, or at least Xcode thinks you do.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to Playground not displaying output
For Xcode 6, if nothing is being output, you might want to see if there's a syntax error preventing compilation and execution.For Xcode 7, make sure you've opened the debug area vs the assistant
Replies
Boosts
Views
Activity
Jun ’15