Search results for

“file uri scheme”

81,708 results found

Post

Replies

Boosts

Views

Activity

Reply to WWDC Platforms State of the Union Notes
Interestingly, it looks like you can still modify files and folders within /System/Library/User Template. I just verified that I could successfully use the following command with root privileges:touch /System/Library/User Template/English.lproj/Desktop/test.txtI then created a new user account and verified that a text file named test.txt was on that new account's Desktop.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Application Transport Security ?
When I try to start an URL Request to my website from watchOS 2 the request fail and i get this message :Application Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.what can i do ? All i've found in the doc is :App Transport SecurityApp Transport Security (ATS) lets an app add a declaration to its Info.plist file that specifies the domains with which it needs secure communication. ATS prevents accidental disclosure, provides secure default behavior, and is easy to adopt. You should adopt ATS as soon as possible, regardless of whether you’re creating a new app or updating an existing one.If you’re developing a new app, you should use HTTPS exclusively. If you have an existing app, you should use HTTPS as much as you can right now, and create a plan for migrating the rest of your app as soon as possible.But nothing about the name of the key in Info.plist..
34
0
289k
Jun ’15
Reply to linker command failed with exit code 1 (use -v to see invocation)
Ld /Users/nathan/Library/Developer/Xcode/DerivedData/ExampleApp-adsgjtlrzvwdjxbdymykwbukmfch/Build/Products/Debug-iphonesimulator/ExampleApp.app/ExampleApp normal i386 cd /Users/nathan/Desktop/Xcode App/ExampleApp1/ExampleApp export IPHONEOS_DEPLOYMENT_TARGET=9.0 export PATH=/Volumes/Xcode/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Volumes/Xcode/Xcode-beta.app/Contents/Developer/usr/bin:/Volumes/Xcode/Xcode-beta.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin /Volumes/Xcode/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Volumes/Xcode/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -L/Users/nathan/Library/Developer/Xcode/DerivedData/ExampleApp-adsgjtlrzvwdjxbdymykwbukmfch/Build/Products/Debug-iphonesimulator -F/Users/nathan/Library/Developer/Xcode/DerivedData/ExampleApp-adsgjtlrzvwdjxbdymykwbukmfch/Build/Products/Debug-iphonesimulator -f
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Swift 2 crashing on where clause inside if-let
Converting my app to use Swift 2, and I'm getting a crash on this if-let where clause (that worked in 1.2):Used to look like this:if showFilterButton { if let dataController = dataController() as? FilteredCoreDataController, filter = dataController.filter where filter.customized { filterButton = UIBarButtonItem(image: UIImage(named: FilterFilled), style: .Plain, target: self, action: showFilters:) } else { filterButton = UIBarButtonItem(image: UIImage(named: Filter), style: .Plain, target: self, action: showFilters:) } } else { filterButton = nil }But it crashes on line 2. Finally discovered that removing the where clause doesn't crash the app (but obviously doesn't give me the behavior I want). Thought it was something weird like Apple changing how where clauses with in an if-let clause, but even separating it out into a nested if doesn't work:if showFilterButton { if let dataController = dataController() as? FilteredCoreDataController, filter = dataController.filter {//where filter.customized { if filter.cu
1
0
490
Jun ’15
iTunes Connect: Invalid Binary on submission
I'm trying to upload a new version of an app to iTunes Connect but everything I've tried so far has resulted in a Invalid Binary report by iTunes Connect. I have the Archive action set to Release and all schemes set to use the distribution certification and profile. Everything archives fine and the binary validates, but after uploading to iTunes Connect the binary moves into the Invalid Binary state and I get the following email:Invalid Signature - Code object is not signed at all. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose Clean All in Xcode, delete the build directory in the Finder, and rebuild your re
2
0
4.5k
Jun ’15
NSURLConnection SSL error
I got following error when reqeust data from non-ssl protocol with NSURLSeesion API. I think it because of ATS in iOS9. Anyone knows what I should put in plist to opt out ATS?-- ATS description from release note--App Transport SecurityApp Transport Security (ATS) lets an app add a declaration to its Info.plist file that specifies the domains with which it needs secure communication. ATS prevents accidental disclosure, provides secure default behavior, and is easy to adopt. You should adopt ATS as soon as possible, regardless of whether you’re creating a new app or updating an existing one.If you’re developing a new app, you should use HTTPS exclusively. If you have an existing app, you should use HTTPS as much as you can right now, and create a plan for migrating the rest of your app as soon as possible.---error---Error Domain=NSURLErrorDomain Code=-1200 An SSL error has occurred and a secure connection to the server cannot be made. UserInfo=0x7fcfebe17cc0 {NSURLErrorFailingURLPeerTrustErrorKey=<S
2
0
6.3k
Jun ’15
Binary operator cannot be applied: NSCalendarUnit
Have the following code running in 7.0 beta (7A120f) - didn't see that as a topic in the beta forum...adjusting to the forum change.let dateComponentsFormatter = NSDateComponentsFormatter() dateComponentsFormatter.allowedUnits = NSCalendarUnit.Day | NSCalendarUnit.Hour | NSCalendarUnit.Minute | NSCalendarUnit.SecondReceiving the following build error: Binary operator '|' cannot be applied to two NSCalendarUnit operands.Did not see this error in Xcode 6, not sure if this should be filed as a bug report at this juncture. Other solutions offered by the interwebs proving unviable.Thoughts?Cheers,Josh
4
0
3.2k
Jun ’15
Reply to weather app on watchOS2
As watchOS 2 is pre-release, please file a bug at http://bugreport.apple.com if you encounter any issues. Thank you!
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to watchOS 2 beta and installing apps
As watchOS 2 is pre-release, please file a bug at http://bugreport.apple.com if you encounter any issues. Thank you!
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to WWDC Platforms State of the Union Notes
Interestingly, it looks like you can still modify files and folders within /System/Library/User Template. I just verified that I could successfully use the following command with root privileges:touch /System/Library/User Template/English.lproj/Desktop/test.txtI then created a new user account and verified that a text file named test.txt was on that new account's Desktop.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Application Transport Security ?
When I try to start an URL Request to my website from watchOS 2 the request fail and i get this message :Application Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.what can i do ? All i've found in the doc is :App Transport SecurityApp Transport Security (ATS) lets an app add a declaration to its Info.plist file that specifies the domains with which it needs secure communication. ATS prevents accidental disclosure, provides secure default behavior, and is easy to adopt. You should adopt ATS as soon as possible, regardless of whether you’re creating a new app or updating an existing one.If you’re developing a new app, you should use HTTPS exclusively. If you have an existing app, you should use HTTPS as much as you can right now, and create a plan for migrating the rest of your app as soon as possible.But nothing about the name of the key in Info.plist..
Replies
34
Boosts
0
Views
289k
Activity
Jun ’15
Reply to Can't display iCloud System Preferences pane
I've got this same issue. I have no idea what I did (if aything) to get it to come back up.I still can't sign in or out, and my iCloud is completely messed up with this beta.I'll have to file a radar.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to iphone showing up as iPod Touch in iOS devices page - won't install iOS 9
Figured out that 3014 is the hosts file error, but I don't have anything in my hosts file. I tried a different DNS server too. I can't ping gs.apple.com.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to linker command failed with exit code 1 (use -v to see invocation)
Ld /Users/nathan/Library/Developer/Xcode/DerivedData/ExampleApp-adsgjtlrzvwdjxbdymykwbukmfch/Build/Products/Debug-iphonesimulator/ExampleApp.app/ExampleApp normal i386 cd /Users/nathan/Desktop/Xcode App/ExampleApp1/ExampleApp export IPHONEOS_DEPLOYMENT_TARGET=9.0 export PATH=/Volumes/Xcode/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Volumes/Xcode/Xcode-beta.app/Contents/Developer/usr/bin:/Volumes/Xcode/Xcode-beta.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin /Volumes/Xcode/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Volumes/Xcode/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -L/Users/nathan/Library/Developer/Xcode/DerivedData/ExampleApp-adsgjtlrzvwdjxbdymykwbukmfch/Build/Products/Debug-iphonesimulator -F/Users/nathan/Library/Developer/Xcode/DerivedData/ExampleApp-adsgjtlrzvwdjxbdymykwbukmfch/Build/Products/Debug-iphonesimulator -f
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’15
Swift 2 crashing on where clause inside if-let
Converting my app to use Swift 2, and I'm getting a crash on this if-let where clause (that worked in 1.2):Used to look like this:if showFilterButton { if let dataController = dataController() as? FilteredCoreDataController, filter = dataController.filter where filter.customized { filterButton = UIBarButtonItem(image: UIImage(named: FilterFilled), style: .Plain, target: self, action: showFilters:) } else { filterButton = UIBarButtonItem(image: UIImage(named: Filter), style: .Plain, target: self, action: showFilters:) } } else { filterButton = nil }But it crashes on line 2. Finally discovered that removing the where clause doesn't crash the app (but obviously doesn't give me the behavior I want). Thought it was something weird like Apple changing how where clauses with in an if-let clause, but even separating it out into a nested if doesn't work:if showFilterButton { if let dataController = dataController() as? FilteredCoreDataController, filter = dataController.filter {//where filter.customized { if filter.cu
Replies
1
Boosts
0
Views
490
Activity
Jun ’15
Pics Not Appearing in Friends and Contact Names Not In Messages
I filed a bug report but has anyone else experienced all pics missing from Friends and contact names missing from Messages?
Replies
5
Boosts
0
Views
1.8k
Activity
Jun ’15
Reply to Invalid Bundle Identifier Format
No such luck Jeff, I checked the plist file as XML and even recreated the item but it apperas to be good.Looks like I'm using Applcation Loader 3.1, I'm falling back and trying version 3.0 now. XCode 6.3.2 and OS 10.10.4, maybe I'll have to go back and try 10.10.3
Replies
Boosts
Views
Activity
Jun ’15
iTunes Connect: Invalid Binary on submission
I'm trying to upload a new version of an app to iTunes Connect but everything I've tried so far has resulted in a Invalid Binary report by iTunes Connect. I have the Archive action set to Release and all schemes set to use the distribution certification and profile. Everything archives fine and the binary validates, but after uploading to iTunes Connect the binary moves into the Invalid Binary state and I get the following email:Invalid Signature - Code object is not signed at all. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose Clean All in Xcode, delete the build directory in the Finder, and rebuild your re
Replies
2
Boosts
0
Views
4.5k
Activity
Jun ’15
Reply to Software Update failed to install
Did you correctly install the mobile configuration files on the iPhone and the watch?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
NSURLConnection SSL error
I got following error when reqeust data from non-ssl protocol with NSURLSeesion API. I think it because of ATS in iOS9. Anyone knows what I should put in plist to opt out ATS?-- ATS description from release note--App Transport SecurityApp Transport Security (ATS) lets an app add a declaration to its Info.plist file that specifies the domains with which it needs secure communication. ATS prevents accidental disclosure, provides secure default behavior, and is easy to adopt. You should adopt ATS as soon as possible, regardless of whether you’re creating a new app or updating an existing one.If you’re developing a new app, you should use HTTPS exclusively. If you have an existing app, you should use HTTPS as much as you can right now, and create a plan for migrating the rest of your app as soon as possible.---error---Error Domain=NSURLErrorDomain Code=-1200 An SSL error has occurred and a secure connection to the server cannot be made. UserInfo=0x7fcfebe17cc0 {NSURLErrorFailingURLPeerTrustErrorKey=<S
Replies
2
Boosts
0
Views
6.3k
Activity
Jun ’15
Binary operator cannot be applied: NSCalendarUnit
Have the following code running in 7.0 beta (7A120f) - didn't see that as a topic in the beta forum...adjusting to the forum change.let dateComponentsFormatter = NSDateComponentsFormatter() dateComponentsFormatter.allowedUnits = NSCalendarUnit.Day | NSCalendarUnit.Hour | NSCalendarUnit.Minute | NSCalendarUnit.SecondReceiving the following build error: Binary operator '|' cannot be applied to two NSCalendarUnit operands.Did not see this error in Xcode 6, not sure if this should be filed as a bug report at this juncture. Other solutions offered by the interwebs proving unviable.Thoughts?Cheers,Josh
Replies
4
Boosts
0
Views
3.2k
Activity
Jun ’15
Reply to Does Homekit on watchOS2 require handoff?
According to today's announcement, Siri will support controlling HomeKit accessories directly on Apple Watch without Handoff. Currently I assume Siri's production server hasn't been updated with Apple Watch native HomeKit support. It would be great if you can file a bug at bugreport.apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15