Search results for

file uri scheme

78,591 results found

Post

Replies

Boosts

Views

Activity

Xcode Server 7
Trying to create a Xcode 7 server. The archive and everything are being created perfectly by the bot, however the user installable .ipa file is not. Xcode is returning the following error:exportArchive: exportOptionsPlist error for key 'uploadSymbols': expected a value of class NSNumber, but found (null)Has anyone seen this before?
8
0
4.9k
Jun ’15
Reply to Application Transport Security ?
The problem may be that ATS is requiring TLS 1.2-only servers, presumably to prevent attacks that involve downgrades to lower versions of the protocol. Evidence in favour of this is that Amazon servers (which do support TLS 1.2) are also blocked, though with a different code. See the thread at https://forums.developer.apple.com/thread/4017, and DO FILE A BUG REPORT ABOUT THIS. That is what beta testing is for.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to Bitcode and Assembly?
Great info @bwilson. Thank you.> If you want to do that, search for the __LLVM segmentAhh, you're correct. When I searched for the __LLVM segment, I do see that the assembly's .o file contains an __LLVM segment.> Assembly source files should work in the sense that you can build and run your project. I did not mean to imply that we somehow de-compile the assembly source into bitcode.When it becomes a requirement to submit apps in bitcode format, how will this impact architecture specific code (ie. assembly, or anything that is ifdef'd for that matter). It makes sense that assembly isn't converted to bitcode, but doesn't everything need to be in bitcode in order for an archive to be fully encoded in bitcode? I have an app that's hitting a compile warning when archiving complaining that a specific 3rd party library doesn't contain bitcode so the app cannot be archived with bitcode. That 3rd party library won't emit bitcode ostensibly because it contains assembly (I could be wong about the
Jun ’15
NSDocument File>Open not allowing document types to open
Hello,I have an simple NSDocument subclass application and also custom format conforming to wrapper : com.apple.packageI have defined Document, Export and Import UTIs for my format however I am unable to open my document files from File>Open... The NSOpenPanel is not allowing me to select my custom documents.I can however double click my document in finder to open it, also if I drag the document from finder over application icon in dock is working normally.I am not sure what is happening.This are my Info.plist keys for application:Document:<key>CFBundleDocumentTypes</key> <array> <dict> <key>CFBundleDocumentTypes</key> <array> <dict> <key>CFBundleTypeName</key> <string>com.myapplicationdomain.application</string> <key>LSHandlerRank</key> <string>Owner</string> </dict> </array> <key>CFBundleTypeExtensions</key> <array> <string>cjewrapper</string> </ar
Topic: UI Frameworks SubTopic: AppKit Tags:
0
0
371
Jun ’15
watchOS 2 with Core Data
With watchOS 1, my understanding is that the watch extension was placed in the iOS app and so you could use a shared Core Data persistent store for both the watch app and the iOS app. (Which was done by using an app group, and making a separate framework that handled the data model for both the iOS app and watch app.)However, with watchOS 2, the watch extension has moved onto the watch itself - so it would have its own persistent store. So how would you handle sharing data between the watch and iOS?I saw the WWDC session on the Watch Connectivity framework which talks about moving data basically by transferring plist files.So, if I had a note taking app that used Core Data, it sounds like I would need to periodically take any new notes the user made in the iOS app, store them in a plist file, then send those over to the watch app (using the Watch Connectivity framework). Then, on the watch app, I'd need to receive the information and have methods to save that to its own Core Data store.Am I on the ri
5
0
3k
Jun ’15
Reply to watchOS 2 with Core Data
Yes, you're exactly right in your understanding on all counts.A few things to think about:1) you don't want to overload the user on the watch with too much data. So maybe you don't need the watch's database to be comprehensive, including every note ever. Or perhaps you only need to show the note title and a few lines of preview, and anything more complicated kicks the user over to the phone. Not sure about your particular application.2) you can transfer over the backing .sqllite files themselves with Watch Connectivity file transfer. Accounting for my caveat in 1) however, I'd probably steer towards a more hand-curated approach as to what gets sent over to the watch.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Downloading Large File using AFNetworking fails when device with passcode enabled locked
Hello all, I am trying to download a large file from a server using AFNetworking with NSURLSessionConfiguration backgroundSessionConfiguration. The download start and succeed when app is in foreground. The download process still succeed if the app goes to background. If the device is configured without a passcode, the download still succeed even if the device got locked while downloading the large file. The download process gets interrupted and fails when the device is configured with a passcode and locked. The issue happen with both iOS 7 and iOS 8. Any help is appreciated to solve this issue? Here is the error description that I receive when such failure happen: Error Domain=NSPOSIXErrorDomain Code=1 The operation couldn’t be completed. Operation not permitted UserInfo=0x166378d0 {NSErrorFailingURLKey=https://webp.googlecode.com/files/webp-samples.zip, NSErrorFailingURLStringKey=https://webp.googlecode.com/files/webp-samples.zip}
2
0
988
Jun ’15
Reply to How to use a variable definition that is defined in different class inside a method
Hi MaxBio!You would need to import your viewcontroller.swift file into your new class.For example:mySecondClass.swift #import myFirstClass.swiftor you could also use:@class myFirstClass;EDIT:Now realizing that you posted this in the Objective-C forum and not the Swift forum, here is the correct code you should use:mySecondClass.h #import myFirstClass.h // - OR - @class myFirstClass; //---------------- mySecondClass.m //You will also need to import into your implememntation if you plan on using it there. Use: #import myFirstClass.h //Side Note: //If your class is part of a framework, you can use: #import <myFramework/myFirstClass.h>Hope that helps!
Topic: Programming Languages SubTopic: General Tags:
Jun ’15
Reply to On device watchOS debugging impossible
When I click Run on the [AppName] WatchKit App scheme, the status window says Running [AppName] WatchKit App on [Phone name]. It stays like that for about 45 seconds. Then it says Finished running [AppName] WatchKit App on [Phone name].Did the 'trust this computer' diaglog ever show on the watch? Unpairing and then re-pairing and restarting Xcode should have gotten you that prompt. The symptoms you are experiencing seem to indicate that this dialog was not presented after you upgraded.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to watchOS 2 with Core Data
I'll definitely have to think about the overloading the user with too much data part. Keeping things lean and simple is great, but on the other hand I'd like to avoid customer support emails saying why can't I view such and such on my watch, your app *****. 😉I hadn't thought about transferring over the .sqlite files, but I think I'd rather have more control over what gets sent to the watch.Doing all of this will be more work than with the watchOS 1 way, but I guess that's the tradeoff for having watch apps that can do more (and do it quickly).Thanks for the input.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to Xcode 6.3.2 "forgetting" source control
FInally figured a workaround of sorts. Xcode seems to be picking up on another SVN repository that I have that is completely unrelated to my xcode projects (it's in a completely unrelated directory). It is included in the list of repositories when I look at Preferences->Accounts. Nothing I could do would convince Xcode to ignore the repository (tried deleting the reposity from the account list, but it would just come back next time I restarted Xcode). Tried disabling the repo. No effect. Still rows of ?s on my source code.But then I tried removing the other repository (as in: removing the directory containing it - not via Xcode). I then fired up Xcode. This time it popped up a dialog at the beginning, saying:This workspace includes files from other working copies that are not checked out. Choose Check Out to select additional working copies. Choose Ignore to skip these working copies.If I then say Ignore - voila.. the problem is fixed!When I get a chance I'll experiment to see whether I can bring
Jun ’15
Realtime audio processing within an AVAudioEngine
Hello All,on my goal to creat a simple sampler instrument in Swift for iOS I came across a problem that I could not find a solution for -> Realtime Audio Processing.First of all I am pretty new to programming (Swift around 7 months - no experience in Obj-C and C++) but I am having multiple years of experience in hands on sound engineering.ScopeMy goal is to create a simple sampler with the following processing graph:AVAudioPlayerNode -> Volume Envelope -> AVAudioEngine.mainMixerNodeHere my Idea was to use the AVAudioPlayerNode to play my sound files at different pitches - then trigger a volume envelope that fades in the volume over a certain period of time to avoid the noisy click at the start of the sound. After stopping a note I wanted to create a fade out effect by triggering a fade out volume ramp.By using multiple AVAudioPlayerNode + Volume Evnelope pairs I wanted to achieve polyphony. The processing of the volume envelope should have been done on a per sample level to leave room for ot
5
0
15k
Jun ’15
Reply to Streaming audio with spotty network access
I have seen this behavior when trying to stream an HLS audio file. What we found is that the AVPlayer seems to stop grabbing additional TS files once connectivity is regained. We fixed this by using Reachability and observing AVPlayerItemPlaybackStalledNotification. When you come back online, try callingplayer.seekToTime(player.currentTime)instead of callingplayer.play(). I think calling seekToTime forces the player to start loading resources again, which resumes playback. Hopefully this at least helps get you on the right track.
Topic: Media Technologies SubTopic: Audio Tags:
Jun ’15