Search results for

Building for iOS Simulator, but the linked and embedded framework ‘XX.framework‘ was built for

186,345 results found

Post

Replies

Boosts

Views

Activity

Reply to iOS 9 Beta battery life
Have you ever done a iOS beta before? These are very much to be expected.1. The claims they make will be what they are expecting for the final release2. iOS 6 beta was significantly worse.3. If you think this is bad... just wait, in the past the betas have gone from bad battery life to good, to bad again. They are working out the issues, you cannot expect this to work like a final product... because well, it is far from it.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Privacy and your app session notes
Apple views privacy as a human rightApp developers - be mindful of privacyKeeping the app ecosystem as a trusted place is important.Architecting for privacyData retentionData privacyData storageIdentifiersData RetentionHave a retention policyDelete data when it no longer serves a user needCollect the minimum data necessaryBalance storage of data against the risk of compromiseData Minimization TechniquesAnonymizeAggregateSampleDe-resolveDecayMinimizeWhat's the use of the data? What decisions are the collected data driving? If you can't come up with an answer, don't collect it. Minimize.Data transferEncrypt data in transitKeep sensitive data on the device, do not transmitProcess sensitive data on-deviceA good example of sensitive data - health data for a workout app. Process it on the device.On Device- Data protection- Keychain - store your secrets inside a keychain's encrypted storageServer side- Encrypt data at rest- CloudKitTransparencyBe clear about what data is being collected- Give users the ability to in
0
0
1.3k
Jun ’15
linking UIStepper with segmented control
looping interval app. Setting up a segmented control that users can choose repeats change value with UIstepper and then switch to interval(segmented control) and set loop for interval.Repeats with stepper works great, but i cant get it to change to set interval and display loop in stopwatch label.Also is it possible to make repeats decrement automatically with a set time interval?
0
0
213
Jun ’15
What's New in CloudKit notes
Notes is now using CloudKit to synchronize between OS X and iOSiCloud Backup is now using CloudKitApple can offer developers a huge amount of storage. I'd say watch the session video, my notes would just consist of repetitions of Huge amount of storage, costs you nothing.CloudKit Web ServicesFull CloudKit API vs JSON / HTTPSCloudKit JavaScript LibrarySign-in via Apple IDPublic and private database accessRecord operationsAssetsQuerySubscriptions and notificationsUser discoverabilitySyncCloudKit JSJavascript APIMatches CloudKit APINo intermediate servers - no need for a server in the middleNew notes web app built with CloudKit JSWeb sign-in with Apple IDApple manages the password service via using an Apple ID. Developer does not see the user's authentication credentials.
0
0
1.3k
Jun ’15
Using Metal and SceneKit together
I created a SCNView with the Metal Rendering API as shown below, however it does not work. If I change it to any of the opengl options the view is visible, however if set to SCNRenderingAPI.Metal, the view is no longer visible.Example A (This does not work)let options = [SCNPreferredRenderingAPIKey : NSNumber(unsignedLong: SCNRenderingAPI.Metal.rawValue)] let metalGameView = SCNView(frame: self.view.bounds, options: options)Example B (This does work)let options = [SCNPreferredRenderingAPIKey : NSNumber(unsignedLong: SCNRenderingAPI.OpenGLCore41.rawValue)] let metalGameView = SCNView(frame: self.view.bounds, options: options)Update: I've verified this actually works on iOS, just not on my mac. Metal does run successfully on my mac using MetalKit, just not with this scenekit option.
4
0
2.2k
Jun ’15
iOS 9 Error 14
Have tried 5 or 6 times now it install the beta package for 1474 on two diffrent computers. Each time the install freezes after about 10% and itunes pops and error code 14. I have tried diffrent cables and ports with no luck so far. I have tried redownloading the package to insure it wasnt corrupted but still no luck. It restores to 8.3 from both computers without trouble. I am unsure what to do from here. Has anyone else come across this and resolved it? Any suggestions as to what to try next? Your help is appreciated.
8
0
843
Jun ’15
Apple Watch Metadata Rejection - Background images are not displaying
I have been rejected 3 times based upon metadata rejection.We still continue to notice that your marketing screenshot(s) do not sufficiently reflect your app in use.- Metadata screenshots do not demonstrate the app functionality in use.My application is showing up with a black screen. The buttons are intact but the background images must not be showing up when the apple review team is reviewing my Apple Watch app. When I archive I am doing so choosing the iPhone profile. I wonder if my images for the Apple Watch are not being included in the submission bundle?When I try it in simulator I see my app works perfectly with all of the images displaying in the background of the watch.Has anyone else had this issue?Help!
0
0
332
Jun ’15
WCSession sendMessage returning errors (simulator)
I think I've got my Connectivity stuff set up properly, was going off the Lister sample app. But, every time I try to send stuff via WCSession, it fails. Here's the code:// iOS App, in my ViewController override func viewDidLoad() { super.viewDidLoad() if WCSession.isSupported() { WCSession.defaultSession().delegate = self WCSession.defaultSession().activateSession() } } func session(session: WCSession, didReceiveMessage message: [String : AnyObject]) { let msg = message[message] as! String print(Got message! (msg)) } // -------------- // WatchKit Extension - WKInterfaceController subclass @IBAction func buttonTapped() { let session = WCSession.defaultSession() print(Session is reachable: (session.reachable)) // this is false let msg = [message: derp derp derp] session.sendMessage(msg, replyHandler: { reply in print(Got reply: (reply)) }, errorHandler: { error in print(error: (error)) }) }The error in the errorHandler reads Error Domain=WCErrorDomain Code=7004 The operation couldn’t be completed. (WC
6
0
6.9k
Jun ’15
SKDefaultShading with Metal-based SceneKit
On iOS 8, this code (Swift) worked:let shaderString = void main() + { + gl_FragColor = SKDefaultShading().bgra; + } let shader = SKShader(source: shaderString)Now on iOS 9, with Metal under the covers, I get this error message:2015-06-09 18:36:39.497 TestVideoCam[550:63920] Jet: Error Domain=MTLLibraryErrorDomain Code=3 Compilation failed: program_source:6:321: error: use of undeclared identifier 'SKDefaultShading' fragment float4 SKShader_FragFunc( texture2d<float> u_texture [[texture(0)]], const device float *u_time [[buffer(0)]], const device float2 *u_sprite_size [[buffer(1)]], const device float *u_path_length [[buffer(2)]], SKShader_VertexOut interpolated [[stage_in]]){return SKDefaultShading().bgra;} ^ UserInfo=0x156e50c10 {NSLocalizedDescription=Compilation failed: program_source:6:321: error: use of undeclared identifier 'SKDefaultShading' fragment float4 SKShader_FragFunc( texture2d<float> u_texture [[texture(0)]], const device float *u_time [[buffer(0)]], const device
13
0
4.0k
Jun ’15
Loading an .Obj model file
I created a simple model in an obj and attempted to load it as an Assetlet bundle = NSBundle.mainBundle() let path = bundle.pathForResource(Torus, ofType: obj) var torusModel = MDLAsset(URL: NSURL(string: path!)!)Error message: Could not load data from /Users/jason/Library/Developer/Xcode/DerivedData/MetalDemo-auxpwrdxoklbrpbtkxmrhkecewhb/Build/Products/Debug/Met ... orus.obj
7
0
35k
Jun ’15