Search results for

missing package product

50,272 results found

Post

Replies

Boosts

Views

Activity

Reply to iOS 9 Beta battery life
Now I've been able to run my iPhone 6 128GB with iOS 9 beta 1 for 40 minutes straight in standby mode (just viewing some e-mails from time to time, mobile data enabled, all background stuff disabled with not even 1% loss on the battery. Battery saving mode is also disabled. Don't really know what I did.. All I did was viewing the log files through the device viewer in Xcode. Disconnected the cable after a while and ended up where I'm now.. Before viewing the logs in Xcode I rebooted the phone also. But I did not change any settings in the phone from where it was before so I don't really understand what's going onSoon it's actually 50 minutes without any battery loss.. still at the 97% as it was when I disconnected it from my Mac. Seemingly the background activity going on before on the home screen also suddenly stopped.I'm going to spend my weekend looking into this matter a bit deeper, just for the pure fun of it
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to Battery overspending IOS9
Well, you probably missed the keynote. One new feature is a way better energy management. Thats great news since they bring the lessons learned from the watch over to iOS.Ask your self as dev - is implementing a feature like this done with just typing code and run it once in the simulator? Nope, it needs fieldtesting.Welcome to the beta.As for our testequipment it seems to apply only to devices that are known to benefit the most from this feature. iPhones 6 as the only devices eating their battery. Thats cool, because deep discharge once in a while helps the battery to live longer.// running gagGlad you didn't install the beta on a device you use everyday, aren't you. 🙂// jedes Jahr das gleiche 😀
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
How to write this generic dotProduct function in Swift?
Say I'd like to write a generic function dotProduct, something like:func dotProduct<T: FixedSizeArrayType where T.Element: BasicArithmeticType>(a: T, b: T) -> T.Element { var sum = T(0) for i in 0 ..< T.Count { sum = sum + a[i] * b[i] } return sum }This is just some haphazard pseudo code meant to illustrate the requirements for the function:It takes as arguments two fixed size arrays of equal length and element type and returns the dot product of the two arguments (the type of the return value is of course the same as the element type of the two arguments). It's also ok to make it as a method, with self replacing the first arg.I want compile time errors if I try to call it with arguments of different size/count/length or element type, and if I try to receive a return value of some other type than the element type of the two arguments.And as can be seen, The T.Element type should conform to an imaginary BasicArithmeticType protocol. This protocol is possible to write yourself, but currentl
9
0
4.6k
Jun ’15
Game Center authentication sign out query
Hello everyone,I have a query with regards to Game Center authentication capabilities. While taking this method into consideration I arrived at an edge case for which I would request some additional information or guidance. In the following event: 1.An user boots the app on an iOS device and authenticates with a Game Center account 2.Then resets the device to erase hishers information of it (maybe to sell it) 3.Picks up another device to play the same app on, but this time he does not sign in with a Game Center account 4.The user plays for a while and makes some progress 5.Then decides to sign back into the previously used Game Center account. At this point a conflict would arise between the existing progress information between the Game Center account and the local progress (achieved without the Game Center account). Given the available documentation, would it pose a concern to show user a warning dialog informing that due to the Game Center sign-in, the user can now either overwrite his current progress wit
0
0
335
Jun ’15
Reply to fox demo from wwdc2015 not working
Found this bit alsodyld: Symbol not found: _OBJC_CLASS_$_SCNAudioPlayer Referenced from: /Users/steve/Library/Developer/Xcode/DerivedData/Fox-bxsdkygmgcpzeleygbjwxmdxlwaq/Build/Products/Debug/Fox.app/Contents/MacOS/Fox Expected in: /System/Library/Frameworks/SceneKit.framework/Versions/A/SceneKitin /Users/steve/Library/Developer/Xcode/DerivedData/Fox-bxsdkygmgcpzeleygbjwxmdxlwaq/Build/Products/Debug/Fox.app/Contents/MacOS/Fox
Jun ’15
Navigation bar button item callback sets weak property to nil
My context. I have a right bar button item with a selector inside the same view controller. I also have a weak, read-only, synthesized property (with a shortcut name _myProperty on this view controller. When the bar button item is clicked, and I enter the selector method, I see that the value of _myProperty is nil. As far as I can tell, everything is fine up through viewDidAppear with the value of this property.When I make the property strong, it's no longer nil. This is the opposite of what I'd expect. What am I missing in my interpretation of weak and strong attributes?
Topic: UI Frameworks SubTopic: UIKit Tags:
2
0
164
Jun ’15
Reply to Publishing an app with MFi approval
What did the rejection notice say? Generally, buried among the standard boilerplate is the suggestion of what your application submision is missingAs someone who has no idea what you've actually done, I've got equal reasons to suspect thatYou forgot to do something or your submitted application build was missing a setting for some reason.The vendor did something silly like add you to a list and then forgot to click some button to submit the list change for aproval. (Disclaimer: I've never seen the vendor side of the MFi program interface.)The reviewer clicked the wrong button, and all of this is going to get cleared up when you go into the resolution center, and confirm all of the requirements.
Jun ’15
command failed due to signal illegal instruction 4
I just migrated an app to use Swift 2 in Xcode 7, and after cleaning up all the changes and fixing errors missed, I can't get past an error:Command failed due to signal: Illegal instruction: 4Has anyone else experienced this? I have cleaned the build, removed Derived Data folder, and ensured I'm on latest version of CocoaPods with latest versions of pods (SVProgressHUD, KSReachability, Lockbox, SMPageControl).Please help, thank you!-BJ
1
0
2.2k
Jun ’15
Reply to ErrorType and userInfo dictionaries
But enums with associated values do not carry that across the boundary though.The Swift:public enum MyError: ErrorType { case Code(code: Int) case Message(code: Int, message: String) } @objc public class MyType : NSObject { public func throwException(type: Int) throws { if type == 0 { throw MyError.Code(code: type) } else { throw MyError.Message(code: type, message: Hello!) } } }The ObjC:int main() { MyType *type = [[MyType alloc] init]; NSError *error1; if ([type throwException:0 error:&error1] == NO) { NSLog(@error: %@, error1); } NSError *error2; if ([type throwException:123 error:&error2] == NO) { NSLog(@error: %@, error2); } }The NSError's domain is set to the module name plus type name of the error, and the code is set to the ordinal offset of the enum value. However, the code and message data is lost. Is that just a bug?
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15