Search results for

xcode github

94,047 results found

Post

Replies

Boosts

Views

Activity

Reply to Will Xcode 7 exit beta before iOS 9 is released?
My crystal ball is in the shop, but if the past is any guide, there will be a GM release of Xcode 7 a week or two before the public release of iOS 9. Only then would app store submission be allowed using Xcode 7. This would allow you to have your iOS 9 compatible apps in the store by the public launch.So the answer is most likely not really - it may be slightly before, but not soon enough for your purposes.
Jun ’15
SpriteKit Integration with UIKit
I have a strange issue where I have a single view controller running different spriteKit scenes. In any of the given scenes, the method I am using to attach the subView is by passing an NSNotification to the view controller a reference to the view created in the scene.If I navigate through my scenes to the UITextField without loading any UIWebViews, I have no issue. But if I load a UIWebView first, destroy it and then load the UITextField, i get the following crash:[UIWebView respondsToSelector:]: message sent to deallocated instanceStructure:Single View Controller creates and destroys all SKScenesUIWebView Creation:in the SKScene the view is created, and then a reference of the window is passed to the view controller via notification:[[NSNotificationCenter defaultCenter] postNotificationName:@addWebView object:window];The viewController then adds the window to the scene as follows(by way of a registered observer):- (void)addWebView:(UIWebView*)update { [self.view addSubview:update]; }Similarly the UIWebView
2
0
955
Jun ’15
Server 5 upgrade issues
Server 5 is supposed to be OS Version independent. Guess not...Upgraded my 10.10.4 beta OS from the 4.x Server to the 5.x Server => no problemThen I upgraded 10.10.4 to 10.11 and now Server won't start anymore.First signs of trouble were that launching Server.app after the 10.11 upgrade resulted in setting up Server messages, rather than in updating/upgrading Server messages, or for that matter no messages at all, since after all, if Server 5 were OS independent, there wouldn't have anything that ought to be upgraded at all.So now, each time I launch Server, it tries to set up Server again, and each time it fails with an error at the end:Creating service principalsErrorDomain:XSActionErrorDomain Code:0***?!?!?Does anyone know what this means, and how it can be fixed?
2
0
991
Jun ’15
Cannot run on device with minimum deployment target error
Hi,I recently upgraded to Xcode Version 6.3.2 (6D2105). I have 2 devices:* iPad Mini 1st generation* iPad AirBoth devices are at iOS 8.1.3. After the Xcode update, I set the iOS Deployment Target to 8.0. I can now deploy and then run/debug fine on the iPad Mini. On the iPad Air, I can select the device in Xcode and build/install an app to it, however when I try to run/debug, I get the following error:DeviceXXX runs iOS 8.1.3, which is lower than AppNameXXX's minimum deployment target. Change your project's minimum deployment target or upgrade DeviceXXX's version of iOS.This doesn't make sense to me, as I set the deployment target to 8, and that allowed me to run fine on the iPad Mini. I'm wondering if there's some cached data in Xcode that needs to be cleared out, but I've tried restarting Xcode, the iPad Air, and the computer, and I'm still experiencing the same behavior. Any ideas? Thanks in advance.
0
0
815
Jun ’15
Reply to I have created a gitignore file but xCode is not using it so I get merge source code errors, what have I done wrong ?
Your gitignore file must have the following name:.gitignoreYou can't call it default.gitignore and have git recognize it as a gitignore file.You don't tell Xcode where to look for your .gitignore file. You place the .gitignore file in your git repository, normally at the root of the repository, inside the .git folder.Keep in mind the Finder hides files and folders that begin with a period so you may have a difficult time finding your .gitignore file and your git repository in the Finder. I normally use BBEdit to write and save .gitignore files because it can show hidden files and directories in the Open and Save dialogs. I don't know if TextWrangler has the same capability. There are also utilities and Terminal commands to temporarily show hidden files and directories. An Internet search for os x show hidden files reveals many articles showing the Terminal commands to use.
Jun ’15
Module file's minimum deployment target is ios9.0 v9.0
When creating a new playground in Xcode 7 beta (7A120f) and using a custom Cocoa Touch Framework I get the error:Playground execution failed: Game.playground:4:8: error: module file's minimum deployment target is ios9.0 v9.0The custom framework does use specific iOS9 code. When adding a class to the Sources folder using GKEntity the compiler also shows an error explaining I should use:@available(iOS 9.0, *)The meta data of the playground does not show any indication the Playground uses a deployment target (8.4 or some other version).What am I missing here? Why can't I use a custom framework created with iOS9?
1
0
4.7k
Jun ’15
Xcode Server Simulator Times Out
Hi,I'm working on getting up and running with Xcode Server for Continuous Integration. I'm running Xcode 6.3.2 on my development machine, and have OS X Server 4.1 running on an iMac with the latest version of Yosemite. I've created a bot for my project, but every time it runs I get an error stating the followingBot Issue: error. Uncategorized.Issue: Test target Tests encountered an error (Timed out waiting 120 seconds for simulator to boot, current state is 1. If you believe th.Integration Number: 18.Integration URL: https://ucs-imac.slcb.uc.edu/xcode/bots/B6CBA97/integrationsDescription: Test target Tests encountered an error (Timed out waiting 120 seconds for simulator to boot, current state is 1. If you believe this error represents a bug, please attach the log file at /Library/Developer/XcodeServer/Integrations/Integration-22c44be172594e54917e9723b9116f90/Session-2015-06-15_18:17:02-ukAljH.log).I've seen several similar issues related to Jenkins and other third party CI servers.
2
0
2.5k
Jun ’15
CFNotificationCenterAddObserver
Has anyone figured out how to call CFNotificationCenterAddObserver() from Swift yet?Session 224 had the following example:CFNotificationCenterAddObserver(nc, nil, { _ in self.reloadModel() }, com.example.app-model-updated, nil, .DeliverImmediately)However, I can't get this to compile. Xcode 6.4b4 gives the following error:Cannot invoke 'CFNotificationCenterAddObserver' with an argument list of type '(CFNotificationCenter!, nil, (_) -> _, String, nil, CFNotificationSuspensionBehavior)'
1
0
657
Jun ’15
Reference class / struct in a Playground page Xcode 7 Beta 1
Hello everyone! I'm loving the new Playground pages feature! The only issue I found so far is that - apparently - I cannot refer to anything declared in another page. Shared sources are all right, but wouldn't work for what I'm trying to do: I want to explain a topic in one page and build on top of that in the following page.For example, assume you're teaching Algorithms, you might want to have a page that explains Queues and Stacks. In another page you might want to explain the BFS algorithm to traverse trees and graphs. To implement BFS you need a Queue and of course you'd like to reuse the implementation you wrote in the previous page. As far as I can see playing with the first beta of Xcode 7 (7A120f), this isn't currently possible. It seems that every page is a self-standing playground and they just happen to be bundled together.Am I right or is there a way to reference classes, structs, etc. from one Playground page in another page in the same Playground? If not, is it a feature we can expect b
3
0
1.7k
Jun ’15
Need help adding arrays to dictionary - cocoa
I am following this tutorial: https://www.youtube.com/watch?v=4_0Ao11zrtMI am trying to make a login box similar to the one in the video, but for a cocoa app on OS X. I am fairly new at objective-c, and this is my first app.Here is the current code for my LoginController.m file:#import LoginController.h @implementation LoginController - (void)awakeFromNib { [prodigyLabel setTextColor:[NSColor orangeColor]]; [studioLabel setTextColor:[NSColor darkGrayColor]]; loginDictionary = [[NSDictionary alloc] initWithObjects:@password forKeys:@username]; } - (IBAction)loginButtonPressed:(id)sender { } @endThe loginDictionary part was modified because I looked online and thought it might help when I found it on a different site, hence it says NSDictionary alloc.It originally said:loginDictionary = [[NSArray alloc] initWithObjects:@password, nil];But there is no option for forKeys as seen in the tutorial.I keep getting error:Incompatible pointer types sending 'NSString *' to parameter of type 'NSArray *'P
2
0
333
Jun ’15
Reply to CFNotificationCenterAddObserver
Xcode 7 is more helpful and complains about captures:> A C function pointer cannot be formed from a closure that captures contextI can get it to compile if I change the closure to contain only a call to print(). Kinda misses the point since most of the time you'd want to capture a reference to an object you want to act on.
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Reply to VPP or DEP simulators? Anyone find the download links?
I tried with and without the ChangeManagementState attribute and neither worked for installing a store app.It is able to change already user-installed apps to be managed just fine, its just fresh store apps dont install anymoreThe xcode logs looked just say the app is queued for install but nothing appears on the device home screen and after pulling a ManagedApplicationList command to see the status of pending app installs, it returns a 'ManagedButUninstalled' status for the app you just tried to install.I've logged this with apple, they had a similar issue when ios8 prerelease came out tooIf anyone is actually able to install store apps on ios9 still please let me know
Jun ’15