mac-catalyst

In App Purchase on Mac Catalyst Not Working

霸气de小男生 提交于 2020-07-22 03:57:50
问题 In app purchases work fine for my iOS side of things. The data from StoreKit is populated as it should. The same code doesn't work on the Mac Catalyst version of the project. I have even created a listing for my Mac app on App Store connect with different bundle identifiers for the in app purchases. I have a print function that returns what product StoreKit found, it works well on iOS, but results with nothing when using Mac Catalyst. Here is what I have done: Make sure that In App purchases

In App Purchase on Mac Catalyst Not Working

故事扮演 提交于 2020-07-22 03:56:40
问题 In app purchases work fine for my iOS side of things. The data from StoreKit is populated as it should. The same code doesn't work on the Mac Catalyst version of the project. I have even created a listing for my Mac app on App Store connect with different bundle identifiers for the in app purchases. I have a print function that returns what product StoreKit found, it works well on iOS, but results with nothing when using Mac Catalyst. Here is what I have done: Make sure that In App purchases

In App Purchase on Mac Catalyst Not Working

淺唱寂寞╮ 提交于 2020-07-22 03:56:05
问题 In app purchases work fine for my iOS side of things. The data from StoreKit is populated as it should. The same code doesn't work on the Mac Catalyst version of the project. I have even created a listing for my Mac app on App Store connect with different bundle identifiers for the in app purchases. I have a print function that returns what product StoreKit found, it works well on iOS, but results with nothing when using Mac Catalyst. Here is what I have done: Make sure that In App purchases

How to build a Fat Framework that includes Mac Catalyst?

点点圈 提交于 2020-07-18 17:44:35
问题 How does one build a fat framework that includes the architectures necessary to build to Mac Catalyst apps? 回答1: Apple has introduced a (undocumented?) new target: x86_64-apple-ios13.0-macabi How to build for this target depends on your frameworks build environment. 1) XCFramework In case your framework is an Xcode project: Select the target in Xcode Select the "General" tab Under "Deployment Info", tick the "Mac" checkbox: build 2) External Build In case you are building your framework

Mac Catalyst and iOS 13.5

旧巷老猫 提交于 2020-07-18 11:58:27
问题 I am currently getting a weird warning from Xcode 11.5 (I'm using the release version): The Mac Catalyst deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 13.5, but the range of supported deployment target versions is 13.1 to 13.4.99. I did a web search and haven't seen this message mentioned by anybody. Now, I could set my deployment back to iOS 13.0 (I'm not using any special features in iOS 13.5 in my project), but was wondering why this particular warning is being issued? Certainly

macCatalyst/ SwiftUI Touch Bar

北城余情 提交于 2020-07-18 06:46:25
问题 how could I add Touch Bar Support in Catalyst- Apps written in SwiftUI? For Example, if I want to display a Button in a View: import SwiftUI struct ContentView: View { var body: some View { VStack{ #if targetEnvironment(macCatalyst) Text("macOS") .frame(maxWidth: .infinity, maxHeight: .infinity) .focusable() .touchBar { Button(action: { print("tapped") }) { Text("TestButton") } } #endif Text("iOS") } } } If I use it in a an macOS App it works but if I use it in Catalyst and add