Search results for

“missing package product”

52,403 results found

Post

Replies

Boosts

Views

Activity

Recursion over a Sliceable
Hi,I feel that I must be missing something obvious. Decomposing a list into the head and tail and then recursing over the tail is a standard functional programming technique, yet I'm struggling to do this for Sliceble types in Swift.To start with a simple case using an Array, I have a recursive function that follows this pattern:func recurseArray(arr: [Int]) -> [Int] { guard let first = arr.first else { return [] } let rest = recurseArray(Array(dropFirst(arr))) let next = rest.first ?? 0 return [first + next] + rest }(Obviously the real code does a lot more than add each number to the next).Note the call to `Array(dropFirst(seq))`. Converting to an Array is required since dropFirst actually returns an `ArraySlice`, and an `ArraySlice` isn't `Sliceable`, so I can't pass it to my function.I'm not sure what sort of optimisation the compiler is capable of here, but it seems to me that creating a new array from a slice unnecessarily won't be optimal. Is there a solution to this?Furthermore, what I'd *r
4
0
1.2k
Jun ’15
Reply to Battery Use Worse
I have been seeing the drain as a very inconsistent - some days I drain down to 10% by 2pm (starting at 6:30), other days it can last all the way to 7pm (still no where as long as before - but as BETA I am not that worried). I've also noticed a lot more loss of network, which may be causeing some of the drain. I tend to leave my iPhone upstairs when I am home. While I have good wirelss through out the house, I am finding that I lose connection on the watch.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
App asks for a password after unsuccessful transaction
I have a consumable IAP, I mark it as finished after my POST request returns success with[[SKPaymentQueue defaultQueue] finishTransaction:transaction];but if there is an error and then user closes the app and open it next time, even though I have no calls to StoreKit or etc. the app asks for password (I am assuming because its getting ready to notify the app about unfinished transaction). Is this desired behaviour? Am I missing something?
0
0
56
Jun ’15
Reply to Can't submit app - "Invalid Signature - Code object is not signed at all"
I got this issue when I added a .js file to a project, and the .js file was automatically added to the files my app produce (it was a file for local execution and should not have been shipped within the app).The hard to understand complain was that the .js file is technically an executable and was not signed, hence the whole app was rejected. When I removed the .js file from the project build, it worked.Check if you have .js, .sh, .py or whatever other files that Apple validation scripts may think are executable included in you end product.
Jun ’15
Reply to -[NSHTTPCookieStorageInternal cookies]: unrecognized selector sent to instance 0x...
I inspected the list of publicly available methods in the NSHTTPCookieStorage and cookies is nowhere to be found:dealloc _initWithIdentifier:private: _syncCookiesregisterForPostingNotificationsinitInternalWithCFStorage:what am I missing here? Is it an issue with the NSHTTPCookieManagerCookiesChangedNotification mechanism? Why is it giving an object of type NSHTTPCookieStorageInternal instead of NSHTTPCookieStorage?
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
How to: GUI coding in Swift, Cocoa and Delegates
Hi!Does anybody know, where I can get good examples/explanation on how to use Swift(pref. 2.0) and Cocoa(OSX)?I'm familiar with programming languages (C/C++), but not very much with GUI programming, although understanding the basic concepts.So, want to understand how to code in Cocoa using MVC and in this context the use of delegates and protocols, which is recommended by Apple.All the examples I found so far, are either rather code fragments or don't go to much into the details of the basics (delegates, MVC) that I need to understand.But just reading the Cocoa API I'm not getting the insight to be able to put this in code.I would like to explore this on my own, but I'm missing some kind of a sound starting point to progress from there.Thanks for any kind of support...
Topic: UI Frameworks SubTopic: AppKit Tags:
1
0
898
Jun ’15
Photos Extension Issue - Reinstall Photos?
I have a photo app with an action extension (not photo editing) that works well in Photos. I'm in the process of converting that app to freemium (different bundleID but same display names for the extension and app) and at one point I installed the new app with the original app still there during testing on a real phone. Then I saw two identical actions when a photo is selected and the action button is tapped.So, I looked and I may (or may not) have mixed bundleIDs for the various parts (or something), so I changed the display name for the newest app (over and over).Long story short, after deinstalling the original app, resetting the iPhone, cleaning the project, quitting/restarting Xcode, deleting both apps from the phone, reinstalling the new app alone, etc. when I try to use the free app on my phone bizarre things happen (and BTW, everything works fine in the simulator).What happens is that when I select a photo, tap the action button, my action icon is not there. But when I look under More… the single acti
Topic: UI Frameworks SubTopic: UIKit Tags:
1
0
213
Jun ’15
Reply to Potential security bug in iMessage
> Is Bug Reporter the best/fastest way to report security bugs?Filing a bug is always a good idea. Thanks for doing that.Beyond that, the following page has more details on Apple Product Security.<https://www.apple.com/support/security/>Share and Enjoy--Quinn The Eskimo!Apple Developer Relations, Developer Technical Support, Core OS/Hardware
Topic: Privacy & Security SubTopic: General Tags:
Jun ’15
Missing Info in Watch HIG
I've searched all over, but I cannot find any specifications for the image sizes used in the complications that have images for both the 38 and 42mm watches. Creating a new project with complications creates an asset library with a complicaitons group, but I have not found any specs anywhere.Specifically:1) ModularSmallStackImage2) ModularSmallRingImage3) ModularSmallSimpleImage4) ModularLargeStandardBody (header image)5) ModularLargeTable (header image)6) ModularLargeColumns (row images)7) UtilitarianSmallFlat8) UtilitarianSmallSquare9) UtilitarianSmallRingImage10) UtilitarianLargeFlat11) CircularSmallSimpleImage12) CircularSmallRingImage13) CircularSmallStackImage (line 1)Can anybody please help?
1
0
244
Jun ’15
Attaching a texture to a Tile in Unity
We have created 8 box objects that contain tiles. We have attached the boxes at their outer edges to create an eight sided drum. Six of the eight tiles allow us to expand textures to fill each tile. For the other two tiles, the textures won't expand properly. Any ideas on what we may have missed?? There doesn't seem to be any discernable differences between those two and the other six.
0
0
334
Jun ’15
Recursion over a Sliceable
Hi,I feel that I must be missing something obvious. Decomposing a list into the head and tail and then recursing over the tail is a standard functional programming technique, yet I'm struggling to do this for Sliceble types in Swift.To start with a simple case using an Array, I have a recursive function that follows this pattern:func recurseArray(arr: [Int]) -> [Int] { guard let first = arr.first else { return [] } let rest = recurseArray(Array(dropFirst(arr))) let next = rest.first ?? 0 return [first + next] + rest }(Obviously the real code does a lot more than add each number to the next).Note the call to `Array(dropFirst(seq))`. Converting to an Array is required since dropFirst actually returns an `ArraySlice`, and an `ArraySlice` isn't `Sliceable`, so I can't pass it to my function.I'm not sure what sort of optimisation the compiler is capable of here, but it seems to me that creating a new array from a slice unnecessarily won't be optimal. Is there a solution to this?Furthermore, what I'd *r
Replies
4
Boosts
0
Views
1.2k
Activity
Jun ’15
iOS betas for tv
Am I the only one missing tv iOS betas on the new dev center?
Replies
3
Boosts
0
Views
487
Activity
Jun ’15
Reply to Battery Use Worse
I have been seeing the drain as a very inconsistent - some days I drain down to 10% by 2pm (starting at 6:30), other days it can last all the way to 7pm (still no where as long as before - but as BETA I am not that worried). I've also noticed a lot more loss of network, which may be causeing some of the drain. I tend to leave my iPhone upstairs when I am home. While I have good wirelss through out the house, I am finding that I lose connection on the watch.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
App asks for a password after unsuccessful transaction
I have a consumable IAP, I mark it as finished after my POST request returns success with[[SKPaymentQueue defaultQueue] finishTransaction:transaction];but if there is an error and then user closes the app and open it next time, even though I have no calls to StoreKit or etc. the app asks for password (I am assuming because its getting ready to notify the app about unfinished transaction). Is this desired behaviour? Am I missing something?
Replies
0
Boosts
0
Views
56
Activity
Jun ’15
Reply to Can't submit app - "Invalid Signature - Code object is not signed at all"
I got this issue when I added a .js file to a project, and the .js file was automatically added to the files my app produce (it was a file for local execution and should not have been shipped within the app).The hard to understand complain was that the .js file is technically an executable and was not signed, hence the whole app was rejected. When I removed the .js file from the project build, it worked.Check if you have .js, .sh, .py or whatever other files that Apple validation scripts may think are executable included in you end product.
Replies
Boosts
Views
Activity
Jun ’15
Reply to -[NSHTTPCookieStorageInternal cookies]: unrecognized selector sent to instance 0x...
I inspected the list of publicly available methods in the NSHTTPCookieStorage and cookies is nowhere to be found:dealloc _initWithIdentifier:private: _syncCookiesregisterForPostingNotificationsinitInternalWithCFStorage:what am I missing here? Is it an issue with the NSHTTPCookieManagerCookiesChangedNotification mechanism? Why is it giving an object of type NSHTTPCookieStorageInternal instead of NSHTTPCookieStorage?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to Notes from Your App and Next Generation Networks session
The workaround doesn't work for me, devices can't connect successfully, they get a self assigned IPv4 address only still.... Undound process does run, and unbound.pid is present in /usr/local/etc/unbound ... Something more is missing...
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to Forum usability
Oh! Missed that somehow 😝
Replies
Boosts
Views
Activity
Jun ’15
Reply to iOS internationalization
Sorry if I missed it - are you using 'Localization/Base'?◅▻
Replies
Boosts
Views
Activity
Jun ’15
How to: GUI coding in Swift, Cocoa and Delegates
Hi!Does anybody know, where I can get good examples/explanation on how to use Swift(pref. 2.0) and Cocoa(OSX)?I'm familiar with programming languages (C/C++), but not very much with GUI programming, although understanding the basic concepts.So, want to understand how to code in Cocoa using MVC and in this context the use of delegates and protocols, which is recommended by Apple.All the examples I found so far, are either rather code fragments or don't go to much into the details of the basics (delegates, MVC) that I need to understand.But just reading the Cocoa API I'm not getting the insight to be able to put this in code.I would like to explore this on my own, but I'm missing some kind of a sound starting point to progress from there.Thanks for any kind of support...
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
1
Boosts
0
Views
898
Activity
Jun ’15
Photos Extension Issue - Reinstall Photos?
I have a photo app with an action extension (not photo editing) that works well in Photos. I'm in the process of converting that app to freemium (different bundleID but same display names for the extension and app) and at one point I installed the new app with the original app still there during testing on a real phone. Then I saw two identical actions when a photo is selected and the action button is tapped.So, I looked and I may (or may not) have mixed bundleIDs for the various parts (or something), so I changed the display name for the newest app (over and over).Long story short, after deinstalling the original app, resetting the iPhone, cleaning the project, quitting/restarting Xcode, deleting both apps from the phone, reinstalling the new app alone, etc. when I try to use the free app on my phone bizarre things happen (and BTW, everything works fine in the simulator).What happens is that when I select a photo, tap the action button, my action icon is not there. But when I look under More… the single acti
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
1
Boosts
0
Views
213
Activity
Jun ’15
Reply to Potential security bug in iMessage
> Is Bug Reporter the best/fastest way to report security bugs?Filing a bug is always a good idea. Thanks for doing that.Beyond that, the following page has more details on Apple Product Security.<https://www.apple.com/support/security/>Share and Enjoy--Quinn The Eskimo!Apple Developer Relations, Developer Technical Support, Core OS/Hardware
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to Potential security bug in iMessage
Thanks eskimo,I sent an email to the product security team referencing the radar.Thanks for the reply.
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’15
Missing Info in Watch HIG
I've searched all over, but I cannot find any specifications for the image sizes used in the complications that have images for both the 38 and 42mm watches. Creating a new project with complications creates an asset library with a complicaitons group, but I have not found any specs anywhere.Specifically:1) ModularSmallStackImage2) ModularSmallRingImage3) ModularSmallSimpleImage4) ModularLargeStandardBody (header image)5) ModularLargeTable (header image)6) ModularLargeColumns (row images)7) UtilitarianSmallFlat8) UtilitarianSmallSquare9) UtilitarianSmallRingImage10) UtilitarianLargeFlat11) CircularSmallSimpleImage12) CircularSmallRingImage13) CircularSmallStackImage (line 1)Can anybody please help?
Replies
1
Boosts
0
Views
244
Activity
Jun ’15
Attaching a texture to a Tile in Unity
We have created 8 box objects that contain tiles. We have attached the boxes at their outer edges to create an eight sided drum. Six of the eight tiles allow us to expand textures to fill each tile. For the other two tiles, the textures won't expand properly. Any ideas on what we may have missed?? There doesn't seem to be any discernable differences between those two and the other six.
Replies
0
Boosts
0
Views
334
Activity
Jun ’15