Search results for

xcode github

91,990 results found

Post

Replies

Boosts

Views

Activity

No Apple Watch External Display options in Xcode 7.0 Beta Simulator
Hello,I just installed Xcode 7.0 beta. In the Xcode 7 Simulator, when I go to Hardware (menu) -> External Displays I no longer see the options for Apple Watch - 38 mm or Apple Watch - 42 mm. They have disappeared!Instead, I only see options such as:640 x 480720 x 4801024 x 7681280 x 7201920 x 1080How do I get the Apple Watch external display options back?Thank you
1
0
1k
Jun ’15
Reply to Xcode 6.3.2 "forgetting" source control
Ok, I've got it sort of narrowed down. I setup a new user on my machine, checked out the source, and opened it with Xcode. No problems.Then I went to build and run, and hit the you don't have a profile, import one or revoke and re-issue dialog. So, I exported the profile from my regular user login, and imported it in the new user. Boom. Shortly all the ?s were showing up on my source files just like on my regular user login. So it's got something to do with whatever was imported. When I exported, I was surprised to find that it exported 4 accounts - not just the one I was expecting, so there must be something funky in one of those accounts.From my usual login, I had previously tried deleting all the accounts (under Xcode->Preferences->Accounts), to no avail. So I've a clue where the problem lies, but still no idea how to fix it easily (and I'm not counting having to create a new account as easy!).
Jun ’15
Xcode error: unable to copy symbols from this device
I was working on creating an app for Watch OS 2. Wanted to test it out on the watch so plugged in my iphone I used in the past. It gave it as an illegibale device. So I went to devices and saw the following error:Unable to copy symbols from this deviceXcode was unable to read the required data from the device.The iphone was updated to IOS 9 as needed to get the watch OS working. Anything I'm missing?
1
0
7.1k
Jun ’15
Reply to Can't find webview?
Which version of xCode? If you mean xCode 7, stop. Get a copy of the release version of xCode 6.3or even a copy of the 6.4 beta. Lot's of things have changed between xCode 6 and 7 and most likelyyour tutorials are pre xCode 6 anyway. There are different ways of creating webviews depending onyour deployment targets and which version of xCode you're using. Haven't looked myself but, if it's still there, it will be in the controls section after you've already created your utility/single-view app orwhatever. You'd drag the control onto your storyboard.
Jun ’15
Reply to SIMD Vector Operations in Swift 2
You can now import simd to get access to the same functionality that C/C++/ObjC programs get via #include <simd/simd.h>The Swift syntax seems to be similar to the C++ syntax, except that some functions and initializers have named arguments:import simd let vec1 = float4(1.0, 2.0, 3.0, 4.0) let length1 = length(vec1) let vec2 = float4(1.0, 1.0, -1.0, -1.0) let dotProduct = dot(vec1, vec2) let elementwiseMultiplication = vec1*vec2 let matrix1 = float4x4([[0,1,1,1], [-1,2,0,3], [-3,0,-4,5],[-1,-1,2,2]]) let matrix2 = float4x4(diagonal:[1,2,3,4]) let matrix3 = matrix1 + matrix2 let matrix4 = matrix3.transposeI haven't found any Swift documentation yet (aside from option-clicking a symbol to get the popup description or command-clicking to get Xcode's pseudo-header thing), but through trial and error (and Xcode's autocompletion) it's pretty easy to figure out how the C++ version maps into Swift.Also, it looks like it's not done yet. while simd.vector and simd.matrix work fine, simd.logic doe
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
XCode 7 Beta DMG corrupt
I have downloaded it now four times, three different browers two different machines and I'm everytime I try to mount the DMG it says the disk image is corrupt. I've tried to repair it but I'm unable to unlock the DMG for DiskWarrior to repair it. I've tried a few other options to repair the DMG via the command-lind and all fail with a image data corrupted message. Obviosuly people have downloaded it. Any idea of why I'm having the issue?
2
0
568
Jun ’15
for case enum syntax
In the What's New in Swift video, the following pattern is shown on a slide:for case .MyEnumCase (let value) in enumValuesBut tests in Xcode 7 show that this sort of thing won't compile (with suitable declaration of a MyEnum that has a .MyEnumCase with associated value, and setting enumValues to a [MyEnum] value. The simpler syntax:for case .MyEnumCase in enumValuesdoes compile, but of course doesn't give access to the associated value. Anyone know if this is merely a compiler defect, or if the actual syntax is something different?
4
0
1.5k
Jun ’15
Reply to How do I link against .tbd files in Xcode 7?
This is a known issue in the Xcode 7 beta.To work around this issue for now, please:Delete all references to .tbd files from either your linked libraries phase, or from the copied bundle resources phase (where they sometimes will be added).Add the library you want to link manually to the Other Linker Flags build settings, by adding the argument: -l<library_name> for each library you want to link (for example, add -lsqlite3 (without quotes)).For those who are curious, the .tbd files are new text-based stub libraries, that provide a much more compact version of the stub libraries for use in the SDK, and help to significantly reduce its download size.
Jun ’15
Apple watch simulator no longer runs after updating to Xcode 6.3.2 (6D2105)
I've updated my Xcode to Xcode 6.3.2 (6D2105). Now all my existing Apple Watch projects no longer open the Apple Watch simulator (but code runs).I've tried creeating a clean project as well and added the Watch target. The WatchKit App, Notifcation, and Glances targets run, but the Apple Watch simulator doesn't show up.Only the iPhone target sim appears (and runs when that target is selected).I'm I missing some new setting to configure the sim to appear?PS: Running iPhone 6 / iOS 8.3 (12F69) sim
1
0
740
Jun ’15
Reply to SIMD Vector Operations in Swift 2
I get two compile time errors when trying to import simd: __swift_FORCE_LOAD_$_swiftDarwin, referenced from:clang: error: linker command failed with exit code 1 (use -v to see invocation)Undefined symbols for architecture x86_64: __swift_FORCE_LOAD_$_swiftDarwin, referenced from: __swift_FORCE_LOAD_$_swiftDarwin_$_simd in libswiftsimd.a(simd.o) (maybe you meant: __swift_FORCE_LOAD_$_swiftDarwin_$_simd)ld: symbol(s) not found for architecture x86_64clang: error: linker command failed with exit code 1 (use -v to see invocation)Xcode 7, OS X 10.10.3
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Swift 2.0 behaved weird when fetching data using NSData (Playground give different result from the Actual App with same Code)
So I just downloaded Xcode 7 and start playing with Swift 2I use one of my previous project and also a playground for testing new syntaxes.However I get into trouble when I use this line of code to fetch raw data from an free online apilet dataSource = NSData(contentsOfURL: NSURL(string: http://api.openweathermap.org/data/2.5/weather?id=5375480)!)Inside playground, the code ran perfect and I get excactly what I what.However I got nil for the dataSource everytime when I build the App on iOS 9b1 or either simulator, since the class is excactly same, I just can't understant why this happened.I try the product I built from my previous project using Xcode 6.3.2 with Swift 1.2 Syntax which is running on the same iPhone with iOS 9b1, I still get perfect result back, therefore it shows that it's nothing to do with hardware settings or API problems.Since I'm not sure if either I have missed something is important or it just an other early-pre-release bug cause this problem, please let me know if you
1
0
932
Jun ’15
Reply to app crashes during the review
Post the crash log. (the header and crashed thread, at least - don't need the long list of binaries)If it is symbolicated, it should contain the source file and line number if any of your code is involved in the crash. If it's not symbolicated, drag it into the Device Logs view in Xcode's Devices window when you have a device connected. Xcode should then symbolicate it.
Jun ’15