Search results for

dsym file

75,458 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
472
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.2k
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.1k
Jun ’15
Reply to Can I AirDrop from one app to another?
According to the documentation:The Info tab of your Xcode project contains a Document Types section for specifying the document types your app supports. At a minimum, you must specify a name for your document type and one or more UTIs that represent the data type. For example, to declare support for PNG files, you would include public.png as the UTI string. iOS uses the specified UTIs to determine if your app is eligible to open a given document.If you're using file-based URLs, then my concern would be that the UIActivityViewController is choosing a different UTI than what you specified as the correct UTI.Have you tried manually creating a UIActivityItemSource and specifying a custom UTI to rule out those issues?
Jun ’15