Skip to content

Commit

Permalink
Add Mac Catalyst target (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
liamcharger committed Jun 10, 2024
1 parent e2d0d55 commit 32cd805
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
10 changes: 8 additions & 2 deletions InfiniLink.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1058,8 +1058,11 @@
PRODUCT_BUNDLE_IDENTIFIER = "com.alexemry.Infini-iOS";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = YES;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 1;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
Expand Down Expand Up @@ -1087,8 +1090,11 @@
PRODUCT_BUNDLE_IDENTIFIER = "com.alexemry.Infini-iOS";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = YES;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 1;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
Expand Down
1 change: 1 addition & 0 deletions InfiniLink/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ struct ContentView: View {
Settings_Page()
}
}
.navigationViewStyle(.stack)
tabBar
}
.alert(isPresented: $showDisconnectConfDialog) {
Expand Down
8 changes: 8 additions & 0 deletions InfiniLink/InfiniLink.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,13 @@
<array/>
<key>com.apple.developer.healthkit.background-delivery</key>
<true/>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.device.bluetooth</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
<key>com.apple.security.personal-information.location</key>
<true/>
</dict>
</plist>

0 comments on commit 32cd805

Please sign in to comment.