Add explicit iOS document type registration for file handling

This commit is contained in:
h3p 2026-03-06 19:05:07 +01:00
parent a0f7f3b0df
commit 52fa977c7d
2 changed files with 112 additions and 22 deletions

84
Info-iOS.plist Normal file
View file

@ -0,0 +1,84 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>Neon Vision Editor</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSApplicationCategoryType</key>
<string>public.app-category.developer-tools</string>
<key>LSSupportsOpeningDocumentsInPlace</key>
<true/>
<key>UIApplicationSceneManifest</key>
<dict>
<key>UIApplicationSupportsMultipleScenes</key>
<true/>
<key>UISceneConfigurations</key>
<dict/>
</dict>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>UIFileSharingEnabled</key>
<true/>
<key>UILaunchScreen</key>
<dict>
<key>UILaunchScreen</key>
<dict/>
</dict>
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleDefault</string>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~iphone</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportsDocumentBrowser</key>
<true/>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeName</key>
<string>Neon Vision Editor Document</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSHandlerRank</key>
<string>Default</string>
<key>LSItemContentTypes</key>
<array>
<string>public.plain-text</string>
<string>public.text</string>
<string>public.source-code</string>
<string>public.json</string>
<string>public.xml</string>
<string>com.apple.property-list</string>
<string>public.shell-script</string>
</array>
</dict>
</array>
</dict>
</plist>

View file

@ -361,7 +361,7 @@
CODE_SIGNING_ALLOWED = YES;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 396;
CURRENT_PROJECT_VERSION = 397;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = CS727NF72U;
ENABLE_APP_SANDBOX = YES;
@ -380,10 +380,13 @@
ENABLE_RESOURCE_ACCESS_USB = NO;
ENABLE_USER_SELECTED_FILES = readwrite;
GENERATE_INFOPLIST_FILE = YES;
"GENERATE_INFOPLIST_FILE[sdk=iphoneos*]" = NO;
"GENERATE_INFOPLIST_FILE[sdk=iphonesimulator*]" = NO;
"GENERATE_INFOPLIST_FILE[sdk=macosx*]" = NO;
"INFOPLIST_FILE[sdk=iphoneos*]" = "Info-iOS.plist";
"INFOPLIST_FILE[sdk=iphonesimulator*]" = "Info-iOS.plist";
"INFOPLIST_FILE[sdk=macosx*]" = "Info-macOS.plist";
INFOPLIST_KEY_CFBundleDisplayName = "Neon Vision Editor";
INFOPLIST_KEY_CFBundleDocumentTypes = "{\n CFBundleTypeName = \"Neon Vision Editor Document\";\n CFBundleTypeRole = Editor;\n LSHandlerRank = Default;\n CFBundleTypeExtensions = (\n swift,\n py,\n pyi,\n js,\n mjs,\n cjs,\n ts,\n tsx,\n php,\n phtml,\n csv,\n tsv,\n toml,\n ini,\n yaml,\n yml,\n xml,\n plist,\n sql,\n log,\n vim,\n ipynb,\n java,\n kt,\n kts,\n go,\n rb,\n rs,\n ps1,\n psm1,\n html,\n htm,\n css,\n c,\n cpp,\n cc,\n hpp,\n hh,\n h,\n m,\n mm,\n cs,\n json,\n jsonc,\n json5,\n md,\n markdown,\n sh,\n bash,\n zsh,\n cob,\n cbl,\n cobol,\n env,\n proto,\n graphql,\n gql,\n rst,\n conf,\n nginx\n );\n LSItemContentTypes = (\n \"public.text\",\n \"public.plain-text\",\n \"public.source-code\",\n \"public.data\",\n \"public.xml\",\n \"public.json\",\n \"com.apple.property-list\",\n \"public.shell-script\"\n );\n}";
INFOPLIST_KEY_ITSAppUsesNonExemptEncryption = NO;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools";
INFOPLIST_KEY_LSSupportsOpeningDocumentsInPlace = YES;
@ -441,7 +444,7 @@
CODE_SIGNING_ALLOWED = YES;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 396;
CURRENT_PROJECT_VERSION = 397;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = CS727NF72U;
ENABLE_APP_SANDBOX = YES;
@ -460,10 +463,13 @@
ENABLE_RESOURCE_ACCESS_USB = NO;
ENABLE_USER_SELECTED_FILES = readwrite;
GENERATE_INFOPLIST_FILE = YES;
"GENERATE_INFOPLIST_FILE[sdk=iphoneos*]" = NO;
"GENERATE_INFOPLIST_FILE[sdk=iphonesimulator*]" = NO;
"GENERATE_INFOPLIST_FILE[sdk=macosx*]" = NO;
"INFOPLIST_FILE[sdk=iphoneos*]" = "Info-iOS.plist";
"INFOPLIST_FILE[sdk=iphonesimulator*]" = "Info-iOS.plist";
"INFOPLIST_FILE[sdk=macosx*]" = "Info-macOS.plist";
INFOPLIST_KEY_CFBundleDisplayName = "Neon Vision Editor";
INFOPLIST_KEY_CFBundleDocumentTypes = "{\n CFBundleTypeName = \"Neon Vision Editor Document\";\n CFBundleTypeRole = Editor;\n LSHandlerRank = Default;\n CFBundleTypeExtensions = (\n swift,\n py,\n pyi,\n js,\n mjs,\n cjs,\n ts,\n tsx,\n php,\n phtml,\n csv,\n tsv,\n toml,\n ini,\n yaml,\n yml,\n xml,\n plist,\n sql,\n log,\n vim,\n ipynb,\n java,\n kt,\n kts,\n go,\n rb,\n rs,\n ps1,\n psm1,\n html,\n htm,\n css,\n c,\n cpp,\n cc,\n hpp,\n hh,\n h,\n m,\n mm,\n cs,\n json,\n jsonc,\n json5,\n md,\n markdown,\n sh,\n bash,\n zsh,\n cob,\n cbl,\n cobol,\n env,\n proto,\n graphql,\n gql,\n rst,\n conf,\n nginx\n );\n LSItemContentTypes = (\n \"public.text\",\n \"public.plain-text\",\n \"public.source-code\",\n \"public.data\",\n \"public.xml\",\n \"public.json\",\n \"com.apple.property-list\",\n \"public.shell-script\"\n );\n}";
INFOPLIST_KEY_ITSAppUsesNonExemptEncryption = NO;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools";
INFOPLIST_KEY_LSSupportsOpeningDocumentsInPlace = YES;