Search results for

Request failed with http status code 503

190,749 results found

Post

Replies

Boosts

Views

Activity

[UIApplication canOpenURL]?
Under iOS 9 the call [UIApplication canOpenURL:] will now result in the following message in the log:-canOpenURL: failed for URL: imdb: - error: This app is not allowed to query for scheme imdbThis seems to be a new security feature which prevents that Apps can scan for installed Apps with known custom URL schemes. But this makes it impossible to ckeck if a certain App is installed. So there's no longer possible to hide all the options to open certain information in the other Apps if these Apps are not installed. This results to a bad user experience, because either I have to provide an option to open data in external Aps, even if these are not available, or I have to remove these options entirely. Both is not really very user friendly.Is there a workaround for this? Is there a key for the Info.plist where I can request the permission for calling canOpenURL (similar to the key for the location services in order to be able to get geo locations)?
4
0
12k
Jun ’15
Xcode 6.3.2 "forgetting" source control
I just got a new iMac, and installed Xcode 6.3.2 on it. I checked out a copy of my source code repository, and everything runs and builds just fine, but there's one very weird glitch.When I start up Xcode, everything's normal, I can see which files have been modified, and look at their deltas in the Version Editor.However, after a couple of minutes (at most), Xcode will suddenly forget the source code repository, and mark all my files with ? (indicating that it thinks the file is unversioned).In the File Inspector, the files now have Version Not yet committed and Status Unversioned, but they also have a Location corresponding to the repository location (e.g. svn+ssh://repo.flim.com/../trunk/Foo/bar.swift since I happen to be using subversion for this project).From the shell, access to the repository is completely normal - no errors. And if I restart Xcode, everthing works fine - until whatever it is updates, and marks everything as unversioned again.I've been using this configuratio
3
0
2k
Jun ’15
Black bars when using simulator?
Anyone have this issue? My app works fine when I download it on my device from the App Store, but if I go to run the same branch of my code in the simulator running 10.11 and Xcode 7 Beta I get black bars. I've not had this issue before, and my app is optimized for larger screens. In addition, on a branch where I started implementing Auto Layout, I have the same issue. Even if I remove all my constraints and set to suggested constraints, I have the same issue. Also, I have tried to set the Size Constraints, but that doesn't do anything. What is even more strange, is if I load the app onto my iOS 9 device, I get the same thing. Is anyone else having this issue? Or am I just doing something wrong?
5
0
4.8k
Jun ’15
SpriteKit SKSprite only displaying if asset is on “Universal”
'm having a little bit of trouble with an image I need for my SpriteKit project. I'm creating a background for my game. This is the code I have in my scene:let backgroundName = Background let backgroundImage = SKSpriteNode(imageNamed: backgroundName) backgroundImage.position = CGPoint(x:CGRectGetMidX(self.frame), y:CGRectGetMidY(self.frame)) self.addChild(backgroundImage)I think there's no problem there. This is my asset catalog:http://i.stack.imgur.com/BauYU.pngI don't think there's a problem there, either. But that doesn't work. When running the app on my iPad, all I get is a black background. The interesting thing is that if I put the assets in a Universal group, instead of the iPad group, the background will show correctly. Why? This is something I don't want to do, since I want to add assets for the iPhone.I'm using Xcode 7 and iOS 9.Any help would be appreciated. Thanks.
4
0
1.2k
Jun ’15
Downloading Problems
Hello,I just wanted to download OS X v10.11, so I pressed the downloadlink which transfered me to the App-Store Giftcardsite. I typed in my Download Code, but it said the code is currently not available.I hope someone can help me out.Thanks and greetings from Switzerland,Grizzly
3
0
234
Jun ’15
Reply to watch os2 problem, need help
Please see the installation guide here: https://developer.apple.com/services-account/download?path=/Documentation/Beta_Software_Installation_Guides/watchOS_beta_Software_Installation_Guide.pdfThe configuration file that the guide refers to can be downloaded from here: https://developer.apple.com/watchos/download/
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Tableview And New Document Options Won't Show
Whenever I start up Xcode 6.3.2 on Yosemite 10.10.3 and I try to create a new project I only have the option to change my title and my platform (either ios or os). It doesn't give me the other customizable option that I c in other videos such as https://developer.apple.com/library/ios/referencelibrary/GettingStarted/RoadMapiOS/Art/project_template_window_2x.png and https://developer.apple.com/library/ios/referencelibrary/GettingStarted/RoadMapiOS/Art/new_project_window_2x.pngIf u have any advice on how to fix this please tell me on this forum or send it to my email, jacobswist@gmail.comThank you,Jacob
0
0
227
Jun ’15
Xcode 7: <unknown>:0: error: no such file or directory: '"-Onone"'
I took my existing project, ran the project and Swift migrations and now I get the following error when trying to compile.<unknown>:0: error: no such file or directory: '-Onone'I've tried starting over and building without the migrations and it still doesn't work.My project is a hybrid Swift and Objective-C project. The build appears to be failing when trying to compile the Swift module which appears to be for the Watch extension.CompileSwiftSources normal i386 com.apple.xcode.tools.swift.compiler cd /Users/MrRogers/Development/MyProjectPath export PATH=/Applications/Xcode-beta.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name MyProject_WatchKit_Extension -Onone -sdkSo I removed it from my project and I get the same error message when trying to compile the Swift
1
0
3.8k
Jun ’15
Reply to Why does the following code work?
The __block specifier doesn't make a local variable available to a block. Blocks can use any local variables - however the local variables are immutable within the block. When you add __block to a local variable you are telling the compiler to make that variable mutable within the block that's using them. From the docs: You can specify that an imported variable be mutable—that is, read-write— by applying the __block storage type modifier.You can read more about blocks and variables in: https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/Blocks/Articles/bxVariables.html#//apple_ref/doc/uid/TP40007502-CH6-SW1
Topic: Programming Languages SubTopic: General Tags:
Jun ’15
[Appeal] Rejected because of missing 64-bit
Hi,I have nowere to do this else so I do it here, my app just got rejected because I missed 64-bit version. I think this is wrong because I did upload on may 31 (also my upload was an update to a previous version).The review just happened today.Also, I cannot reply to this in my itunes connect, when trying to contact app review support on this url (https://developer.apple.com/contact/) and click the appeal like I get a 404. In short I am not really happy with the way things go. Since a little while I have nothing but trouble getting something on the app store and it makes me very sad 😢I made a screenshot of what I got from apple. http://imgur.com/kpEy2MMBefore this rejection, my app got metadata rejected (after that I sent the requested changes)Please help me, I wanted to release this before my vacation and absolutely made sure I was meeting all requirements 😟
1
0
354
Jun ’15
prepareForSegue vs. pushViewController
I've noticed somthing interesting when using segues and I do not know why it happens. If someone could explain that would be great.I am using a Storyboard for the first time and hooked up a number of segues. I named the segues and used the prepareForSegue method. What I am trying to do is the following.The HomeViewController in my navigation stack conforms to a delegate. When this degelate method is called it checks to see if the next view FeedViewController in the navigation stack has been loaded. If it has, then is reloads the tableView (feedsTableView) on this view. Here is the delegate call back method.func floDataHanlderDidFinishLoading(dataHandler : FLODataHandler) -> () { if(self.feedViewController!.feedsTableView != nil) { println(The reloads feedsTableView is called) self.feedViewController!.feedsTableView.reloadData() } }When I am using the prepareForSegue method, the if (self.feedViewController!.feedsTableView != nil) is never satisfied even if FeedViewController has been loaded. However if I us
5
0
4.9k
Jun ’15
Swift 2.0 error handling for property (get / set)
Swift 2.0 allow function error handling by using the throws keyword.The Swift doc explain that throws is part a a function type.Now I would like to use the same throw / try / catch mechanism to handle errors in the context of computed properties (i.e. throw an error in the get / set code).Is this possible now ? Planned for future Swift 2.x version ?Thanks,Datagram
3
0
3.1k
Jun ’15