apple-watch

Xcode Watchkit: None of the valid provisioning profiles allowed the specified entitlements: beta-reports-active, com.apple.security.application-groups [duplicate]

不想你离开。 提交于 2019-12-03 08:55:58
问题 This question already has answers here : Watchkit Extension - No matching provisioning profiles found (7 answers) Closed 4 years ago . Yes, I know that there are a lot of these questions floating around and I know that the answer to all of them was: Log into Developer Member Center Go to Identifiers, profiles, etc Click Edit and then Generate on your provisioning profile That didn't work for me! I developed my application in Xcode 6.4 Beta 1 and with WatchKit. I tried submitting it but after

How can you download WatchKit? [closed]

风流意气都作罢 提交于 2019-12-03 08:46:01
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . Does anyone know when WatchKit will be available for download for iOS developers? Will Xcode 6 include an emulator to allow for a Apple Watch app to be created/tested on a Mac? 回答1: Update: 11/18/14 - WatchKit is officially available on apple's website. You must download the latest version of Xcode from the

Invalid Apple Watch icon file names must match pattern “*<dimension>@<scale>x.png”

寵の児 提交于 2019-12-03 08:34:01
问题 I'm trying to submit an update to my App to include Apple Watch capabilities, however whenever I validate the build I get the errors detailed in the screenshot below. Looking at the bottom error my file name seems to be matching the pattern so I don't see what the issue is. If I can get the pattern right for 1 icon then I can apply the same logic across the board, however I'm not having much luck with it. Has anyone else had this issue? 回答1: I got the same issue when I tried to submit. My

Inconsistent behavior of openParentApplication in my WatchKit App

╄→гoц情女王★ 提交于 2019-12-03 06:45:43
I'm developing an Apple Watch application that uses the openParentApplication:reply: method to communicate with its parent app. The parent app communicates with a web service and sends back the data it gets to the watch extension by means of calling the reply method with a NSDictionary containing the data. The app works perfectly when the parent app is open in the foreground or background. But if I open the parent app and then terminate it using the task switcher, the first time the watch extension makes a call to openParentApplication:replyInfo: , it gets the following error and the parameter

iOS: Watch Kit paired device unavailable for development

痞子三分冷 提交于 2019-12-03 06:32:56
问题 I can't run my Apple Watch application in XCode. My phone+watch is listed as a "Unavailable Device" and says "paired device unavailable for development". When I try to launch the app it says the same thing. How can I resolve this? I'm using XCode 7.1, iOS 9.0, WatchOS 2.0.1. 回答1: This is what worked for me, and it is a lot easier and faster than un-pairing so I would try this first. From the Clock Face Swipe up, and click on the Ping iPhone button. After it makes a sound, go back in Xcode it

iOS7 and Apple Watch

大憨熊 提交于 2019-12-03 05:54:44
问题 I have a app with the minimum iOS target iOS7. I am considering in add some extra features with the apple watch. Theres is any option to maintain the iOS7 as the minimum target and still add support for apple watch if the app is running on a iOS 8? Something like the extensions/widgets of the iOS8. Thanks in advance 回答1: You can set your deployment target to iOS7.x and make sure you build against iOS8.2 SDK. You will need to set the frameworks as optional (weak linking) in your build settings

hide and show WKInterfaceGroup programmatically

女生的网名这么多〃 提交于 2019-12-03 05:11:05
I'm using xCode 6.2 beta 2 and tried to hide and show group programmatically but there is no method shown where i can write group.hidden=YES or group.hidden=NO Is there any another method for doing same? Yes, there is no property for hide group in WKInterfaceGroup. But there is same property available in WkInterfaceObject which is super class of WKInterfaceGroup. so you can do same like [group setHidden:YES] or [group setHidden=NO] If you're using a swift you can use this code: mygroup.setHidden(true)// set true --> false if you want to show the group Yes, do it this way: [group setHidden:YES]

How to hide API keys in GitHub for iOS (SWIFT) projects?

£可爱£侵袭症+ 提交于 2019-12-03 05:09:09
问题 Hello I'm trying to publish a iOS (SWIFT) personal project in GitHub but I'm afraid of sharing my private API keys and secrets with everybody. I'm using parse so I have in my AppDelegate something like this: let applicationId = "mySecretApplicationId" let clientKey = "mySecretClientKey" Parse.setApplicationId(applicationId!, clientKey: clientKey!) I would like to hide "mySecretApplicationId" and "mySecretClientKey", is there private place or directory in my project where I can put this

Are iPhone's apps notifications going to be triggered on the Apple Watch by default, without even creating an actual Watch app?

烈酒焚心 提交于 2019-12-03 03:29:28
I would like to support my iPhone's app Local Notifications in the Apple Watch from the very first moment the Watch is released, but I don't plan on building a Watch App yet. From what I researched, it seems like iPhone's notifications will be automatically supported on the Watch, without needing any additional development or WatchKit implementation. Apps are not required to do anything to support notifications. The system provides a default notification interface that displays the alert message from the notification. However, apps can customize the notification interface and include custom

How to create sections in WKInterfaceTable

浪尽此生 提交于 2019-12-03 03:16:10
How can we create sections in table as there is no delegate for it. And is there any other way for creating sections or do we have to use two tables. WKInterfaceTable is not so flexible like UITableView, but you can create rows manually, using different row types. And fill content for each cell according to its type. See documentation: Apple Watch Programming Guide: Tables WatchKit Framework Reference: WKInterfaceTable For example, let's create table with two row types: headerRowType detailRowType #define type1 @"HeaderRowType" #define type2 @"DetailRowType" // You also must create two classes