Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for visionOS #268

Merged
merged 1 commit into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Configurations/Base.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ VERSIONING_SYSTEM = apple-generic

CODE_SIGNING_REQUIRED = NO
CODE_SIGN_IDENTITY =
MACOSX_DEPLOYMENT_TARGET = 10.9
IPHONEOS_DEPLOYMENT_TARGET = 8.0
MACOSX_DEPLOYMENT_TARGET = 10.13
IPHONEOS_DEPLOYMENT_TARGET = 12.0
WATCHOS_DEPLOYMENT_TARGET = 2.0
TVOS_DEPLOYMENT_TARGET = 9.0
XROS_DEPLOYMENT_TARGET = 1.0

HEADER_SEARCH_PATHS = $(SDKROOT)/usr/include/libxml2
SWIFT_INCLUDE_PATHS = $(SRCROOT)/Modules
5 changes: 3 additions & 2 deletions Configurations/Kanna.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ PRODUCT_BUNDLE_IDENTIFIER = com.tid.$(PRODUCT_NAME:rfc1034identifier)
PRODUCT_NAME = $(PROJECT_NAME)
SKIP_INSTALL = YES

SUPPORTED_PLATFORMS = macosx iphoneos iphonesimulator watchos watchsimulator appletvos appletvsimulator
TARGETED_DEVICE_FAMILY = 1,2,3,4
SUPPORTED_PLATFORMS = appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator xros xrsimulator
TARGETED_DEVICE_FAMILY = 1,2,3,4,7

ENABLE_BITCODE[sdk=iphone*] = YES;
ENABLE_BITCODE[sdk=watch*] = YES;
Expand All @@ -27,5 +27,6 @@ LD_RUNPATH_SEARCH_PATHS[sdk=macosx*] = $(inherited) @executable_path/../Framewor
LD_RUNPATH_SEARCH_PATHS[sdk=iphone*] = $(inherited) @executable_path/Frameworks @loader_path/Frameworks
LD_RUNPATH_SEARCH_PATHS[sdk=watch*] = $(inherited) @executable_path/Frameworks @loader_path/Frameworks
LD_RUNPATH_SEARCH_PATHS[sdk=appletv*] = $(inherited) @executable_path/Frameworks @loader_path/Frameworks
LD_RUNPATH_SEARCH_PATHS[sdk=visionos*] = $(inherited) @executable_path/Frameworks @loader_path/Frameworks

APPLICATION_EXTENSION_API_ONLY = YES;
1 change: 1 addition & 0 deletions Kanna.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Pod::Spec.new do |s|
s.osx.deployment_target = '10.13'
s.tvos.deployment_target = "9.0"
s.watchos.deployment_target = "2.0"
s.visionos.deployment_target = "1.0"
s.requires_arc = true
s.source_files = ['Sources/**/*.swift', 'Sources/**/*.h']
s.resource_bundles = {'kanna_privacy' => ['Sources/Kanna/PrivacyInfo.xcprivacy']}
Expand Down
Loading