Search results for

dsym file

75,599 results found

Post

Replies

Boosts

Views

Activity

How can I clear the network requests and responses left in the device memory?
I'm using AFNetworking as my basic networking library. When I do a memory dump on a jailbroken phone (iPhone 4, iOS 7.1), I can easily see request urls and/or responses (such as json objects) in the dump files in plain text. I checked with the memory leak tool in Xcode and there is no memory leak based on that.My app has sensitive data in the urls or responses (Like user's name, email address, etc), which are listed in the OWASP mobile risks (M4: Unintended Data Leakage). We are required to be in compliance with these standards so I want to clean this information right after the connection finished. What I have done so far:1) Set the cache policy in the AFNetworking to NSURLRequestReloadIgnoringLocalCacheData2) Disabling the NSURLCache in the app:NSURLCache *sharedCache = [[NSURLCache alloc] initWithMemoryCapacity:0 diskCapacity:0 diskPath:nil]; [NSURLCache setSharedURLCache:sharedCache];3) I also tried:[[NSURLCache sharedURLCache] removeAllCachedResponses];or[[NSURLCache sharedURLCache] removeCached
3
0
2.2k
Jun ’15
Reply to Photos crashing
Same issue - Mid 2010 MBP.Application Specific Information:Assertion failed: (ctx), function CIEAGLContextCreate, file /Library/Caches/com.apple.xbs/Sources/CoreImage/CoreImage-327.6/Framework/misc/CIEAGLContext.m, line 261.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
How to update from watchOS 2 beta to watchOS 2 Final
Hi everyoneWhen the final version is released to the public of watchOS 2, how will the update work from the GM?Usually, on iOS when upgrading from the GM to final, you download the APK off itunes servers, plug it into itunes and update it.On Mac, you just redownload the installer from the app store and install it.How will this work on watchOS since you cannot use a manual file and im guessing it wont read the full update from a GM if you know what im trying to say 🙂
1
0
589
Jun ’15
datamitigator Carousel quit unexpectedly
Every time I try to run a watch app in the simulator I get these errors:Carousel quit unexpectedlyApplication Specific Information:Assertion failed: (false), function -[CSLHexAppGraph decrementNeighborCountsForHex:], file /BuildRoot/Library/Caches/com.apple.xbs/Sources/Carousel_Sim/Carousel-342.5/Carousel/UI/Mazda/Models/CSLHexAppGraph.mm, line 859.CoreSimulator 159 - Device: Apple Watch - 38mm - Runtime: watchOS 2.0 (13S5254w) - DeviceType: Apple Watch - 38mmcom.apple.datamitigator quit unexpectedlyApplication Specific Information:*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSFileManager enumeratorAtURL:includingPropertiesForKeys:options:errorHandler:]: URL is nil'terminating with uncaught exception of type NSExceptionabort() calledCoreSimulator 159 - Device: iPhone 6 - Runtime: iOS 9.0 (13A4254u) - DeviceType: iPhone 6Reinstalled xcode 7 twice now to see if it would fix
0
0
845
Jun ’15
Reply to Loading an .Obj model file
Here's the working code: let bundle = NSBundle.mainBundle() let path = bundle.pathForResource(Model, ofType: obj) let url = NSURL(fileURLWithPath: path!) let asset = MDLAsset(URL: url) let scene = SCNScene(MDLAsset: asset)Step 1) Get the path of the model fileStep 2) Load the file into a MDLAssetStep 3) Create a SCNScene with the asset (alternatively you can find the model inside the asset and add it to an existing scene)
Topic: Graphics & Games SubTopic: SceneKit Tags:
Jun ’15
Reply to Great. Back to square one. 0 points.
Apple is a user, just like us, when it comes to their contractor supplied forum software, which is typically from JIVE Software (Portland). JIVE tends to supply for Windows and open source, so when it comes to migrating anything, that's another checkbox on the option li$t. Witness the old forums now archived and locked. That option is carries the least overhead and co$t, after all.Migrating comments with intact threads from one format to another is rarely trivial/pretty, especially when the source is old and the new format is yet again proprietary. Migrating users is same only different.And since the old rep counter was broken...good riddance, I say. I've lost track of how many times I've seen counters restart for various Apple forums, so it's just another day online for me.The drivers for new forum software never included much value from old threads which primarily dealt with outdated code, tools, diluted/duplicate threads, etc. I suspect emphasis was placed on search, where users are nudged to do that first
Jun ’15
Reply to SIP (System Integrity Protection)
There has been chatter today that netbooting across subnets will work properly if the network is setup with HelperIPs. Our environment is setup with HelperIPs so it should be easy to see if blessing to a broadcast IP or direct server works or not. I plan on testing this on Thursday to confirm/deny. Regardless since there's no official documentaiton on this yet I'd recommend filing a bug with the impact on your environment.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
How do I link against .tbd files in Xcode 7?
I need to link libz in my project. Normally I would add libz.dylib under the Linked Frameworks and Libraries settings, but now there are only .tbd files and no .dylib files when you search the list of libraries to add. When building I get a warning: skipping file '/Users/me/xcode7/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/usr/lib/libz.tbd' (unexpected file type 'text' in Frameworks & Libraries build phase)Then I build fails with linker errors because of missing symbols. Am I missing something new in the way libraries are linked?
29
0
104k
Jun ’15
Reply to Play sound on watch
I also tried converting the sound file to AAC, put the ShipBullet.m4a file in both Watch App and Extension, and use this: if let url = NSBundle.mainBundle().URLForResource(ShipBullet, withExtension:m4a) { let asset = WKAudioFileAsset(URL:url) let sound = WKAudioFilePlayerItem(asset:asset) audioPlayer = WKAudioFilePlayer(playerItem:sound) }But the result is similar, audioPlayer is always nil.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Compiler crash
Has anyone else seen anything like this?Assertion failed: (D->getSourceRange().isValid()), function buildDeclarationRefinementContext, file /Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-700.0.38.1/src/swift/lib/Sema/TypeChecker.cpp, line 946. 0 swift 0x0000000109a08e0b llvm::sys::PrintStackTrace(__sFILE*) + 43 1 swift 0x0000000109a0954b SignalHandler(int) + 379 2 libsystem_platform.dylib 0x00007fff8b16cf1a _sigtramp + 26 3 libsystem_platform.dylib 000000000000000000 _sigtramp + 1961439488 4 libsystem_c.dylib 0x00007fff96a5bb53 abort + 129 5 libsystem_c.dylib 0x00007fff96a23c39 basename + 0 6 swift 0x000000010806de92 (anonymous namespace)::TypeRefinementContextBuilder::walkToDeclPre(swift::Decl*) + 1058 7 swift 0x000000010813cf5d (anonymous namespace)::Traversal::doIt(swift::Decl*) + 157 8 swift 0x0000000108141244 (anonymous namespace)::Traversal::visitNominalTypeDecl(swift::NominalTypeDecl*) + 164 9 swift 0x000000010813cfb2 (anonymous namespace)::Traversal::doIt(swift::Decl*) + 242 10
8
0
1.4k
Jun ’15