Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

cozy/CozyActionExtension

Repository files navigation

CozyActionExtension

$ cordova prepare
$ open Cozy\ Drive.xcworkspace
  • Click on the project file, then add a target: iOS Action Extension (when prompted to add scheme, say yes)
  • Name it CozyActionExtension, save it in the project folder (sibling of Cozy Drive.xcworkspace)
  • Quit Xcode, then remove the CozyActionExtension folder
  • Now clone this repo w/ git:
$ git clone https://github.com/maestun/CozyActionExtension.git
$ open Cozy\ Drive.xcworkspace
  • In project explorer, select CozyActionExtension group, right click and Add Files to Cozy Drive

  • Select these 3 folders: CozyActionExtension.xcassets / en.lproj / fr.lproj

  • Select CozyActionExtension target, Build Settings tab, search for "Asset":

  • Field "Asset Catalog App Icon Set Name" => put "AppIcon"

  • Field "Asset Catalog Launch Image Set Name" => remove "LaunchImage"

  • For each target (app and extension), go to Build Settings > Capabilities tab > Keychain Sharing ON > add "io.cozy.drive.mobile"

  • Go to CozyActionExtension folder, then edit the Podfile file: add the SAMKeychain dependency for the CozyActionExtension target:

target 'CozyActionExtension' do
    pod 'SAMKeychain'
end
  • Open Terminal, folder, then install pod dependencies
$ pod install

Now you should be able to build the extension and debug.

About

iOS extension for Cozy Drive

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published