Jump to content

Recommended Posts

I have this problem,
I have to make sure that my IO App made with Delphi Rio can appear in the list of apps with which to share a web link.
For example if I am on safari and I am visiting a site I want to share this link with my app. I tried adding the management of CFBundleDocumentTypes and CFBundleURLTypes in the info.plist file but unfortunately my app does not appear in the list.
Instead, there is the possibility to send the link to whatsapp, email, notes, and many other apps.
Once opened my app must capture the link and use it internally.
Do you know how I can do it?
Thanks
Massimiliano

90086.jpg

Share this post


Link to post

Hi Dave,

I did several tests on the info.plist file
Now I'm trying with this (but I'm only interested in receiving web links). I see my app when I have to open some  files (PDF example) but I don't see my app on the list share from safari or other browsers and apps.

Bye

Massimiliano

 

 

<?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>
<%VersionInfoPListKeys%>
<%ExtraInfoPListKeys%>
    <key>CFBundleIdentifier</key>
    <string>youaddict.diesys.it</string>
    <key>CFBundleURLTypes</key>
    <array>
      <dict>
        <key>CFBundleURLName</key>
        <string>YouAddict</string>
        <key>CFBundleURLSchemes</key>
        <array>
          <string>youaddict://html</string>
          <string>http://</string>
          <string>https://</string>
          <string>http://WebsiteURL</string>
          <string>https://WebsiteURL</string>
        </array>
      </dict>
    </array>
    
    
<key>CFBundleDocumentTypes</key>
    <array>
        <dict>
            <key>CFBundleTypeName</key>
            <string>IPA</string>
            <key>LSItemContentTypes</key>
            <array>
                <string>public.item</string>
                <string>public.content</string>
                <string>public.data</string>
                <string>public.database</string>
                <string>public.composite-content</string>
                <string>public.contact</string>
                <string>public.archive</string>
                <string>public.url-name</string>
                <string>public.text</string>
                <string>public.plain-text</string>
                <string>public.source-code</string>
                <string>public.executable</string>
                <string>public.script</string>
                <string>public.shell-script</string>
                <string>public.xml</string>
                <string>public.symlink</string>
                <string>org.gnu.gnu-zip-archve</string>
                <string>org.gnu.gnu-tar-archive</string>
                <string>public.image</string>
                <string>public.movie</string>
                <string>public.audiovisual-content</string>
                <string>public.audio</string>
                <string>public.directory</string>
                <string>public.folder</string>
                <string>com.apple.bundle</string>
                <string>com.apple.package</string>
                <string>com.apple.plugin</string>
                <string>com.apple.application-bundle</string>
                <string>com.pkware.zip-archive</string>
                <string>public.filename-extension</string>
                <string>public.mime-type</string>
                <string>com.apple.ostype</string>
                <string>com.apple.nspboard-typ</string>
                <string>com.adobe.pdf</string>
                <string>com.adobe.postscript</string>
                <string>com.adobe.encapsulated-postscript</string>
                <string>com.adobe.photoshop-image</string>
                <string>com.adobe.illustrator.ai-image</string>
                <string>com.compuserve.gif</string>
                <string>com.microsoft.word.doc</string>
                <string>com.microsoft.excel.xls</string>
                <string>com.microsoft.powerpoint.ppt</string>
                <string>com.microsoft.waveform-audio</string>
                <string>com.microsoft.advanced-systems-format</string>
                <string>com.microsoft.advanced-stream-redirector</string>
                <string>com.microsoft.windows-media-wmv</string>
                <string>com.microsoft.windows-media-wmp</string>
                <string>com.microsoft.windows-media-wma</string>
                <string>com.apple.keynote.key</string>
                <string>com.apple.keynote.kth</string>
                <string>com.truevision.tga-image</string>
            </array>
            <key>CFBundleTypeIconFiles</key>
            <array>
                <string>Icon-76@2x</string>
            </array>
        </dict>
    </array>
    
    
</dict>
</plist>

Share this post


Link to post

I meant the final info.plist that ends up being deployed with your app, i.e. not the info.plist.TemplateiOS.xml. This is in case it is different somehow.

Share this post


Link to post

Ops sorry

 

<?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>CFBundleName</key>
    <string>YaApple</string>
    <key>CFBundleDevelopmentRegion</key>
    <string>en</string>
    <key>CFBundleDisplayName</key>
    <string>YaApple</string>
    <key>CFBundleIdentifier</key>
    <string>youaddict.diesys.it</string>
    <key>CFBundleInfoDictionaryVersion</key>
    <string>7.1</string>
    <key>CFBundleVersion</key>
    <string>1.0.0</string>
    <key>CFBundleShortVersionString</key>
    <string>1.0.0</string>
    <key>CFBundlePackageType</key>
    <string>APPL</string>
    <key>CFBundleSignature</key>
    <string>????</string>
    <key>LSRequiresIPhoneOS</key>
    <string>true</string>
    <key>CFBundleAllowMixedLocalizations</key>
    <string>YES</string>
    <key>CFBundleExecutable</key>
    <string>YaApple</string>
    <key>UIDeviceFamily</key>
    <array>
        <integer>1</integer>
        <integer>2</integer>
    </array>
    <key>CFBundleResourceSpecification</key>
    <string>ResourceRules.plist</string>
    <key>NSLocationAlwaysUsageDescription</key>
    <string>The reason for accessing the location information of the user</string>
    <key>NSLocationWhenInUseUsageDescription</key>
    <string>The reason for accessing the location information of the user</string>
    <key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
    <string>The reason for accessing the location information of the user</string>
    <key>FMLocalNotificationPermission</key>
    <string>false</string>
    <key>UIBackgroundModes</key>
    <array>
    </array>
    <key>NSContactsUsageDescription</key>
    <string>The reason for accessing the contacts</string>
    <key>NSPhotoLibraryUsageDescription</key>
    <string>The reason for accessing the photo library</string>
    <key>NSPhotoLibraryAddUsageDescription</key>
    <string>The reason for adding to the photo library</string>
    <key>NSCameraUsageDescription</key>
    <string>The reason for accessing the camera</string>
    <key>NSFaceIDUsageDescription</key>
    <string>The reason for accessing the face id</string>
    <key>NSMicrophoneUsageDescription</key>
    <string>The reason for accessing the microphone</string>
    <key>NSSiriUsageDescription</key>
    <string>The reason for accessing Siri</string>
    <key>ITSAppUsesNonExemptEncryption</key>
    <string>false</string>

    <key>UISupportedInterfaceOrientations</key>
    <array>
        <string>UIInterfaceOrientationPortrait</string>
        <string>UIInterfaceOrientationPortraitUpsideDown</string>
        <string>UIInterfaceOrientationLandscapeLeft</string>
        <string>UIInterfaceOrientationLandscapeRight</string>
    </array>
    <key>UISupportedInterfaceOrientations~ipad</key>
    <array>
        <string>UIInterfaceOrientationPortrait</string>
        <string>UIInterfaceOrientationPortraitUpsideDown</string>
        <string>UIInterfaceOrientationLandscapeLeft</string>
        <string>UIInterfaceOrientationLandscapeRight</string>
    </array>
    <key>CFBundleIconFiles</key>
    <array>
        <string>FM_ApplicationIcon_57x57</string>
        <string>FM_ApplicationIcon_87x87</string>
        <string>FM_ApplicationIcon_114x114</string>
        <string>FM_ApplicationIcon_60x60</string>
        <string>FM_ApplicationIcon_120x120</string>
        <string>FM_ApplicationIcon_180x180</string>
        <string>FM_SpotlightSearchIcon_29x29</string>
        <string>FM_SpotlightSearchIcon_40x40</string>
        <string>FM_SpotlightSearchIcon_58x58</string>
        <string>FM_SpotlightSearchIcon_80x80</string>
        <string>FM_SpotlightSearchIcon_120x120</string>
        <string>FM_ApplicationIcon_72x72</string>
        <string>FM_ApplicationIcon_144x144</string>
        <string>FM_ApplicationIcon_76x76</string>
        <string>FM_ApplicationIcon_152x152</string>
        <string>FM_ApplicationIcon_167x167</string>
        <string>FM_SpotlightSearchIcon_40x40</string>
        <string>FM_SpotlightSearchIcon_50x50</string>
        <string>FM_SpotlightSearchIcon_80x80</string>
        <string>FM_SpotlightSearchIcon_100x100</string>
        <string>FM_SettingIcon_29x29</string>
        <string>FM_SettingIcon_58x58</string>
    </array>
    <key>UILaunchImages</key>
    <array>
        <dict>
            <key>UILaunchImageSize</key>
            <string>{320, 480}</string>
            <key>UILaunchImageName</key>
            <string>Default</string>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>8.0</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
        </dict>
        <dict>
            <key>UILaunchImageSize</key>
            <string>{320, 568}</string>
            <key>UILaunchImageName</key>
            <string>Default-640w-1136h</string>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>7.0</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
        </dict>
        <dict>
            <key>UILaunchImageSize</key>
            <string>{320, 568}</string>
            <key>UILaunchImageName</key>
            <string>Default-Landscape-640w-1136h</string>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>7.0</string>
            <key>UILaunchImageOrientation</key>
            <string>Landscape</string>
        </dict>
        <dict>
            <key>UILaunchImageSize</key>
            <string>{375, 667}</string>
            <key>UILaunchImageName</key>
            <string>Default-750w-1334h</string>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>8.0</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
        </dict>
        <dict>
            <key>UILaunchImageSize</key>
            <string>{375, 667}</string>
            <key>UILaunchImageName</key>
            <string>Default-Landscape-750w-1334h</string>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>8.0</string>
            <key>UILaunchImageOrientation</key>
            <string>Landscape</string>
        </dict>
        <dict>
            <key>UILaunchImageSize</key>
            <string>{414, 736}</string>
            <key>UILaunchImageName</key>
            <string>Default-1242w-2208h</string>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>8.0</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
        </dict>
        <dict>
            <key>UILaunchImageSize</key>
            <string>{414, 736}</string>
            <key>UILaunchImageName</key>
            <string>Default-Landscape-1242w-2208h</string>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>8.0</string>
            <key>UILaunchImageOrientation</key>
            <string>Landscape</string>
        </dict>
        <dict>
            <key>UILaunchImageSize</key>
            <string>{375, 812}</string>
            <key>UILaunchImageName</key>
            <string>Default-1125w-2436h</string>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>11.0</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
        </dict>
        <dict>
            <key>UILaunchImageSize</key>
            <string>{375, 812}</string>
            <key>UILaunchImageName</key>
            <string>Default-Landscape-1125w-2436h</string>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>11.0</string>
            <key>UILaunchImageOrientation</key>
            <string>Landscape</string>
        </dict>
        <dict>
            <key>UILaunchImageSize</key>
            <string>{414, 896}</string>
            <key>UILaunchImageName</key>
            <string>Default-828w-1792h</string>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>12.0</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
        </dict>
        <dict>
            <key>UILaunchImageSize</key>
            <string>{414, 896}</string>
            <key>UILaunchImageName</key>
            <string>Default-Landscape-828w-1792h</string>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>12.0</string>
            <key>UILaunchImageOrientation</key>
            <string>Landscape</string>
        </dict>
        <dict>
            <key>UILaunchImageSize</key>
            <string>{414, 896}</string>
            <key>UILaunchImageName</key>
            <string>Default-1242w-2688h</string>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>12.0</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
        </dict>
        <dict>
            <key>UILaunchImageSize</key>
            <string>{414, 896}</string>
            <key>UILaunchImageName</key>
            <string>Default-Landscape-1242w-2688h</string>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>12.0</string>
            <key>UILaunchImageOrientation</key>
            <string>Landscape</string>
        </dict>
    </array>
    <key>UILaunchImages~ipad</key>
    <array>
        <dict>
            <key>UILaunchImageSize</key>
            <string>{768, 1024}</string>
            <key>UILaunchImageName</key>
            <string>Default-Portrait</string>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>7.0</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
        </dict>
        <dict>
            <key>UILaunchImageSize</key>
            <string>{768, 1024}</string>
            <key>UILaunchImageName</key>
            <string>Default-Landscape</string>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>7.0</string>
            <key>UILaunchImageOrientation</key>
            <string>Landscape</string>
        </dict>
        <dict>
            <key>UILaunchImageSize</key>
            <string>{768, 1024}</string>
            <key>UILaunchImageName</key>
            <string>Default-1536w-2048h</string>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>7.0</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
        </dict>
        <dict>
            <key>UILaunchImageSize</key>
            <string>{768, 1024}</string>
            <key>UILaunchImageName</key>
            <string>Default-Landscape-1536w-2048h</string>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>7.0</string>
            <key>UILaunchImageOrientation</key>
            <string>Landscape</string>
        </dict>
        <dict>
            <key>UILaunchImageSize</key>
            <string>{834, 1112}</string>
            <key>UILaunchImageName</key>
            <string>Default-1668w-2224h</string>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>10.0</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
        </dict>
        <dict>
            <key>UILaunchImageSize</key>
            <string>{834, 1112}</string>
            <key>UILaunchImageName</key>
            <string>Default-Landscape-1668w-2224h</string>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>10.0</string>
            <key>UILaunchImageOrientation</key>
            <string>Landscape</string>
        </dict>
        <dict>
            <key>UILaunchImageSize</key>
            <string>{834, 1194}</string>
            <key>UILaunchImageName</key>
            <string>Default-1668w-2388h</string>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>12.0</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
        </dict>
        <dict>
            <key>UILaunchImageSize</key>
            <string>{834, 1194}</string>
            <key>UILaunchImageName</key>
            <string>Default-Landscape-1668w-2388h</string>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>12.0</string>
            <key>UILaunchImageOrientation</key>
            <string>Landscape</string>
        </dict>
        <dict>
            <key>UILaunchImageSize</key>
            <string>{1024, 1366}</string>
            <key>UILaunchImageName</key>
            <string>Default-2048w-2732h</string>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>9.0</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
        </dict>
        <dict>
            <key>UILaunchImageSize</key>
            <string>{1024, 1366}</string>
            <key>UILaunchImageName</key>
            <string>Default-Landscape-2048w-2732h.png</string>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>9.0</string>
            <key>UILaunchImageOrientation</key>
            <string>Landscape</string>
        </dict>
    </array>
    <key>NSAppTransportSecurity</key>
        <dict>
            <key>NSAllowsArbitraryLoads</key><true/>
        </dict>
    <key>UIRequiredDeviceCapabilities</key>
    <array>
        <string>arm64</string>
    </array>
    <key>CFBundleSupportedPlatforms</key>
    <array>
        <string>iPhoneOS</string>
    </array>
    <key>CFBundleResourceSpecification</key>
    <string>ResourceRules.plist</string>
    <key>MinimumOSVersion</key>
    <string>8.0</string>
    <key>DTPlatformName</key>
    <string>iphoneos</string>
    <key>DTPlatformBuild</key>
    <string>16E226</string>
    <key>DTXcodeBuild</key>
    <string>10E1001</string>
    <key>DTSDKBuild</key>
    <string>16E226</string>

    <key>CFBundleIdentifier</key>
    <string>youaddict.diesys.it</string>
    <key>CFBundleURLTypes</key>
    <array>
      <dict>
        <key>CFBundleURLName</key>
        <string>YouAddict</string>
        <key>CFBundleURLSchemes</key>
        <array>
          <string>youaddict://html</string>
          <string>http://</string>
          <string>https://</string>
          <string>http://WebsiteURL</string>
          <string>https://WebsiteURL</string>
        </array>
      </dict>
    </array>
    
    
<key>CFBundleDocumentTypes</key>
    <array>
        <dict>
            <key>CFBundleTypeName</key>
            <string>IPA</string>
            <key>LSItemContentTypes</key>
            <array>
                <string>public.item</string>
                <string>public.content</string>
                <string>public.data</string>
                <string>public.database</string>
                <string>public.composite-content</string>
                <string>public.contact</string>
                <string>public.archive</string>
                <string>public.url-name</string>
                <string>public.text</string>
                <string>public.plain-text</string>
                <string>public.source-code</string>
                <string>public.executable</string>
                <string>public.script</string>
                <string>public.shell-script</string>
                <string>public.xml</string>
                <string>public.symlink</string>
                <string>org.gnu.gnu-zip-archve</string>
                <string>org.gnu.gnu-tar-archive</string>
                <string>public.image</string>
                <string>public.movie</string>
                <string>public.audiovisual-content</string>
                <string>public.audio</string>
                <string>public.directory</string>
                <string>public.folder</string>
                <string>com.apple.bundle</string>
                <string>com.apple.package</string>
                <string>com.apple.plugin</string>
                <string>com.apple.application-bundle</string>
                <string>com.pkware.zip-archive</string>
                <string>public.filename-extension</string>
                <string>public.mime-type</string>
                <string>com.apple.ostype</string>
                <string>com.apple.nspboard-typ</string>
                <string>com.adobe.pdf</string>
                <string>com.adobe.postscript</string>
                <string>com.adobe.encapsulated-postscript</string>
                <string>com.adobe.photoshop-image</string>
                <string>com.adobe.illustrator.ai-image</string>
                <string>com.compuserve.gif</string>
                <string>com.microsoft.word.doc</string>
                <string>com.microsoft.excel.xls</string>
                <string>com.microsoft.powerpoint.ppt</string>
                <string>com.microsoft.waveform-audio</string>
                <string>com.microsoft.advanced-systems-format</string>
                <string>com.microsoft.advanced-stream-redirector</string>
                <string>com.microsoft.windows-media-wmv</string>
                <string>com.microsoft.windows-media-wmp</string>
                <string>com.microsoft.windows-media-wma</string>
                <string>com.apple.keynote.key</string>
                <string>com.apple.keynote.kth</string>
                <string>com.truevision.tga-image</string>
            </array>
            <key>CFBundleTypeIconFiles</key>
            <array>
                <string>Icon-76@2x</string>
            </array>
        </dict>
    </array>
    
    
</dict>
</plist>

Share this post


Link to post

It appears you need to create a share extension:

 

https://stackoverflow.com/a/38037060/3164070

 

This needs to be done in Xcode, although according to this article:

 

https://blog.grijjy.com/2018/11/15/ios-and-macos-app-extensions-with-delphi/

 

You can exchange data between a Delphi app and the extension.

 

Incidentally, I believe the schemes in your info.plist should not include the :// part, and apparently you cannot use http and https anyway:

 

https://stackoverflow.com/a/37401487/3164070

  • Like 1

Share this post


Link to post

Hi Dave,

I followed your article and created an empty project in xCode with the same BundleID as my delphi project.

Then I created a share extension app extension in xcode, I compiled in development mode and everything went well When I set up the ad hoc mode xCode asked me to specify the TeamID.

I copied the contents of the PlugIns folder inside my delphi folder and I used your tools to add it to the deployment

 

 

Unfortunately now when I compile I find myself in front of another obstacle because I receive this message And unfortunately, I have found almost nothing for Tokyo and Rio about this problem.

 

[PAClient Error] Error: E0776 2020-07-16 19:39:51.200 xcodebuild[2174:173287] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/c1/9bp_6p2551799vynm572wy5r0000gn/T/YaApple_2020-07-16_19-39-51.199.xcdistributionlogs'.

[PAClient Error] Error: E0776 error: exportArchive: No 'teamID' specified and no team ID found in the archive

[PAClient Error] Error: E0776 Error Domain=IDEFoundationErrorDomain Code=1 "No 'teamID' specified and no team ID found in the archive" UserInfo={NSLocalizedDescription=No 'teamID' specified and no team ID found in the archive}

 

has this ever happened to you?

I found few posts without solutions

 

 

When I have overcome this obstacle I will have to understand how to make my app read the data received from the extension

Share this post


Link to post
21 minutes ago, Massimiliano S said:

I followed your article

It's not my article; it's Grijjy's. Allen Drennan visits here some times, and he is part of their group.

40 minutes ago, Massimiliano S said:

No 'teamID' specified and no team ID found in the archive

Might be an issue with the provisioning profile. Are you building for Ad-Hoc or App Store?

Share this post


Link to post

Hi Dave,

 

For now I have circumvented the problem of certificates but now I am stuck on another point.

 

  1. I created the extension app in xCode 11.4  on Catalina using SDK 13.5 I used an Ad Hoc profile
  2. I copied the PlugIns folder into my delphi 10.3.3 application with SDK 13.5
  3. I tried to compile and install the 64 Bit app as it is and it works
  4. added the PlugIns folder with all the sub folders to the deployment using the Deployman.exe tool
  5. I compiled the 64 Bit app and delphi compiles correctly
  6. I installed the app on the phone but I get the following message:

 

"this app needs to be updated by the developer to work on this version of IOS"

 

Reading on the Internet it would seem linked to the fact that 32-bit apps are no longer supported but I have compiled everything 64-bit and the problem occurs only when I import the PlugIns folder

 

Even in xCode it should compile only 64 Bit if I'm not mistaken

 

Can you give me some advice?

Share this post


Link to post
1 hour ago, Massimiliano S said:

added the PlugIns folder with all the sub folders to the deployment using the Deployman.exe tool

Can you show what the remote paths are?

 

1 hour ago, Massimiliano S said:

Reading on the Internet it would seem linked to the fact that 32-bit apps are no longer supported but I have compiled everything 64-bit

Just a guess, but perhaps make sure you haven't enabled the Generate iOS universal binary file (armv7 + arm64) option in the compiler options. Otherwise I'd need to see an example project

Share this post


Link to post

Hi Dave,
thank you very much for your reply, you are very kind
I confirm that I have not enabled universal binary and that I am compiling only 64 bit
I have attached a test application.
The PlugIn was done with Visual Studio code 11.4 and SDK 13.5
The delphi project (this test but also the final one) is with Rio 10.3.3. and SDK 13.5

If I compile in delphi the project without plugIn works
If I compile the app in xCode with the Share Extension it works
If I compile the delphi project with the Share Extension compiles correctly but then the app does not start and says that it needs to be updated

Bye

Massimiliano

yadiesys.zip

Share this post


Link to post
Posted (edited)

Your extension was not compiled for iOS (arm64), it was compiled for macOS (x86_64). To determine this, I ran this command on the Mac:

file yashare

For which the result was:

yashare: Mach-O 64-bit executable x86_64

When you created the extension, were you adding a Target from an iOS project? It should have looked like this:

 

image.thumb.png.7fe4a18ad6acd02280960b9f7b5d25e3.png

 

The target properties would then look like this:

image.thumb.png.6942037c9b29ab238faa46bcaab04830.png

 

 

Edited by Dave Nottage

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×