Resolved.. problem was button shapes were causing SwiftUI on tvOS to not process correctly.. went back to "default" buttons.. and works as expected.
I am also getting this same error message - Invalid Swift
2020-09-25 19:35:46.281502-0400 XXXX WatchKit Extension[1012:18958] [default] lookupMainFuncAddressInMachHeader:71: Invalid Swift entry point data
2020-09-25 19:35:46.282071-0400 XXXX WatchKit Extension[1012:18958] [default]
lookupMainFuncAddressInMachHeader:77: Swift entry point addres could not be determined.
And when the program then tries to access the WatchKit ExtensionDelegate I get nil
Post not yet marked as solved
I read thru the alternative thread... and seems that the problem is different but similar to mine.
Issue has been resolved... I hate to paraphrase it - "Your doing it wrong"
That did it, it was the alway on scroll bars! Amazing
Post not yet marked as solved
I switched to a stand alone Watch App and removed it completely from my app. You can just do #ifdef in the code, and then don't include the embedded object in the build settings
Post marked as Apple Recommended
@brandonK212 where you able to get a sample of the differences between Snapshot
and Placeholder
I am having the same issue.
Post not yet marked as solved
I am getting the same message when setting up UserDefaults with combine. The code is simple enough var twitterOauthTokenSecret: String {
willSet{
objectWillChange.send(self)
}
}
init() {
notificationSubscription = NotificationCenter.default.publisher(for: UserDefaults.didChangeNotification).sink { _ in
self.objectWillChange.send(self)
}
}
Not sure I understand the recommended solution above by @gandhi_ms. Can you clarify how I would use this in a this case?
Post not yet marked as solved
Problem still exists in 2nd Xcode beta
Post not yet marked as solved
Here's the info.plist content and the Feedback number is - FB7834610 ..
<key>NSExtension</key>
<dict>
<key>NSExtensionAttributes</key>
<dict>
<key>IntentsRestrictedWhileLocked</key>
<array/>
<key>IntentsRestrictedWhileProtectedDataUnavailable</key>
<array/>
<key>IntentsSupported</key>
<array>
<string>INSearchForMessagesIntent</string>
<string>INSendMessageIntent</string>
<string>StartMeetingIntent</string>
</array>
</dict>
<key>NSExtensionPointIdentifier</key>
<string>com.apple.intents-service</string>
<key>NSExtensionPrincipalClass</key>
<string>$(PRODUCT_MODULE_NAME).IntentHandler</string>
</dict>
and this is in the info.plist for the Extension.
Post not yet marked as solved
Thanks Will post generate a FB and post here later today (in meetings all day :( ). I do have the IntentsSupported in my plist, which I will also post.
Post not yet marked as solved
Is there other data that I need to look at to make sure it is setup correctly?
This ended up being an issue with how I included the Intent handler, I had embedded it as a plug-in, not as an extension.
I've been looking on the developer site and can't find the download link to SF Symbols 2. Where can it be found?