Search results for

file uri scheme

78,519 results found

Post

Replies

Boosts

Views

Activity

Reply to Using a cell in another file in Swift
I found the problem: Xcode forgot to add the new TodayCell file to the list of compile sources when I added it to the project. Once I manually did it everything worked fine - I had a funny horror trip in a list of errors in the MKStoreManager library, but all of them went away upon returning to the last commit.
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Distribution certificate problem
Dear Developers,I got a following problem :When I try to submit new build version to app store for testing I got this message from Xcode : Your account already has a valid iOS distribution certificate, but it's not installed locally.But actually it is, it displays in Keychain access caertificates list. Xcode doesn't allow me to import any profile files and something like this. I' ve tried all standart solutions: revoked certificates, provisioning files reinstalled it and all this. How to fix it? thanks for your time and help in regard.
9
0
965
Jun ’15
Reply to Problems with Mail.app
Seeing quite a few beach-ball moments with mail.app. Also seeing the re-ordering reverting to default / preferences:accounts form.Seems prone to crashing when composing messages in full-screen mode.Seems that anything to do with signing / encrypting messages causes major slow-downs even on small text only messages. But other slowdowns for filing / reorganisation too.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Restricted /bin directory after 10.11 upgrade
My /bin directory now has a restricted flag on it. Even with sudo i can't change anything. I tried using chflags to remove it without luck. % ls -alO / | grep -i restricted !2008drwxr-xr-x@ 4 root wheel restricted 136 Jun 8 16:17 Systemdrwxr-xr-x@ 56 root wheel restricted,hidden 1904 Jun 8 16:30 binlrwxr-xr-x@ 1 root wheel restricted,hidden 11 Jun 8 16:23 etc -> private/etcdrwxr-xr-x@ 59 root wheel restricted,hidden 2006 Jun 8 16:24 sbinlrwxr-xr-x@ 1 root wheel restricted,hidden 11 Jun 8 16:23 tmp -> private/tmpdrwxr-xr-x@ 12 root wheel restricted,hidden 408 Jun 8 16:30 usrlrwxr-xr-x@ 1 root wheel restricted,hidden 11 Jun 8 16:24 var -> private/varI also tried adding my user to the perms, sudo su as root cant even move files there.Making it really difficult to edit the scripts i have there.I even did a permission verify and repair on the disk.MacBook (Retina, 12-inch, Early 2015)1.2 GHz Intel Core M8 GB 1600 MHz DDR3INTEL HD Graphics 5300 1536 MBAvailable: 430.94 GB (430,935,441,408 bytes) C
3
0
3.5k
Jun ’15
Reply to Does anyone have sample code for complications?
Hi,I found it complicated to get the complications to show up in the Simulator—the code was relatively simple, but placeholders didn’t seem to show up due to caching issues.The video ‘Creating Complications with ClockKit’ is definitely the best place to start—the code below is based on the code shown in the video.Create a new project------------------------------------------I found it easier to create a new project with the complication support added in (which also generates the stubs for the data source protocol functions), and then add that to my existing project. + File > New > Project > watchOS > Application (‘iOS App with WatchKit App’) + Add in ‘Include Complication’Targets------------------------------------------Check the following settings for the WatchKit Extension target: + Target > WatchKit Extension + Complications Configuration: + Data Source Class = %(PRODUCT_MODULE_NAME).ComplicationController + Supported Families: check required families (only check the ones you’re han
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to Questions about NSCalendar
I'm getting a bit futher.let dayHourMinuteSecond = NSDateComponentsFormatter() dayHourMinuteSecond.allowedUnits = [.Day, .Hour, .Minute, .Second]Now conforms to the new way Swift 2.0 wants things formatted.I'm trying to figure out the calculated calendar time difference between two dates. Pretty simple. I think the function is the following: (using the autofill template),let userCalendar = NSCalendar.currentCalendar() let difference = userCalendar.components( <#T##unitFlags: NSCalendarUnit##NSCalendarUnit#>, fromDate: <#T##NSDate#>, toDate: <#T##NSDate#>, options: <#T##NSCalendarOptions#>)So my code with my variables would read (with the components used from the formatter above (which the compiler is happy with)let difference = userCalendar.components( dayHourMinuteSecond, fromDate: goHomeYoureDrunkTime, toDate: badPoetryDay, options: NSCalendarOptions)But I can't find any value that satisfies the Options for this. In my other code, WrapComponents was the only value that worked, even t
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Maximum number for LSApplicationQueriesSchemes?
In our POI Finder app Where To? I'm using -canOpenUrl: to detect if compatible directions apps are installed. There are more than 50 supported apps, many of them available in a multitude of country-specific versions with respective country-specific URL schemes.In WWDC session 703 (Privacy and Your App) it was only mentioned that we can white list the needed URL schemes in LSApplicationQueriesSchemes in Info.plist. Also the mechanism for legacy apps built for iOS 8 was described. (The first 50 probed schemes are implicitly whitelisted.)What was missing is a statement about a maximum number of entries allowed in the LSApplicationQueriesSchemes array.We need more than 50 different URL schemes to test for all countries the app is deployed in.
0
0
1.8k
Jun ’15
Xcode 7 crashes when opening Swift iBook playground in El Capitan
Hello,When I attempt to open the Guided Tour playground file mentioned in the pre-release Swift programming book in Xcode 7 on El Capitan (first build), Xcode crashes immediately upon opening. I've been able to use it fine with other projects/playgrounds etc, its just this indiviudal one.I've included a snippet of the crash log - does anyone know of a fix for this?Thanks in advance.Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Application Specific Information: ProductBuildVersion: 7A120f ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDELanguageSupport/IDELanguageSupport-8102.19/IDELanguageSupportUI/Playground/Editor/IDEPlaygroundSourceTextScrollView.m:322 Details: result should be an instance inheriting from IDEPlaygroundTextView, but it is nil Object: <IDEPlaygroundSourceTextScrollView: 0x7f8ffd8cebc0> Method: -_drawGutterAndResultSidebarBackgroun
0
0
217
Jun ’15