diff --git a/Entitlements.xml b/Entitlements.xml new file mode 100644 index 0000000..1897331 --- /dev/null +++ b/Entitlements.xml @@ -0,0 +1,10 @@ + + + + + platform-application + + com.apple.private.security.no-container + + + diff --git a/README.md b/README.md index e6a59a9..3583241 100644 --- a/README.md +++ b/README.md @@ -27,9 +27,12 @@ That's it! ## Download You can download the latest .ipa from [here](https://github.com/ZonD80/duppy/releases). -## Build manually +## Build and install manually + + Alernatively, you can build the project manually. -Make sure you have [Carthage](https://github.com/Carthage/Carthage) installed. Run the following commands: +Make sure you have [Carthage](https://github.com/Carthage/Carthage) ,**ldid**, [ideviceisntaller](https://github.com/libimobiledevice/ideviceinstaller) are installed, you can install them via [Homebrew](https://github.com/Homebrew) +Run the following commands: ``` $ git clone https://github.com/ZonD80/duppy.git $ cd duppy2/ @@ -37,6 +40,29 @@ $ carthage update --platform iOS $ open duppy2.xcodeproj ``` +Do not install app to device via xCode, as it is still missing required entilements. To add them: +1. Archive your product (Command-Shift-B) then Control-Click on latest archive and select "Show in Finder" +2. Control-Clck on *.xcarchive and select "Show Package Contents" +3. Navigate to Products->Applications folder->Duppy.app folder +4. Open Termonal and type string ends with space) +``` +$ ldid -SEntitlements.xml +``` +Drop Duppy file to Terminal and press Enter + +6. To verify that Entitlements were set, type (string ends with space): +``` +$ codesign -dvvv --entitlements - +``` +and drop Duppy file to Terminal. + +7. Go to upper "Applications" folder. Type in Terminal (string ends with space): +``` +$ ideviceinstaller -i +``` + +And drop Duppy.app folder to Terminal - app should be installed to device. + ## License GNU General Public License v3.0. See [LICENSE](LICENSE) file for further information. diff --git a/duppy2.xcodeproj/project.pbxproj b/duppy2.xcodeproj/project.pbxproj index 82eb046..4f9f88c 100644 --- a/duppy2.xcodeproj/project.pbxproj +++ b/duppy2.xcodeproj/project.pbxproj @@ -7,6 +7,7 @@ objects = { /* Begin PBXBuildFile section */ + 88254A34247A66EE001CB040 /* Entitlements.xml in Resources */ = {isa = PBXBuildFile; fileRef = 88254A33247A66EE001CB040 /* Entitlements.xml */; }; 88D4A5B224793F7700469190 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 88D4A5B124793F7700469190 /* AppDelegate.swift */; }; 88D4A5B624793F7700469190 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 88D4A5B524793F7700469190 /* ViewController.swift */; }; 88D4A5B924793F7700469190 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 88D4A5B724793F7700469190 /* Main.storyboard */; }; @@ -39,6 +40,7 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ + 88254A33247A66EE001CB040 /* Entitlements.xml */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = Entitlements.xml; sourceTree = ""; }; 88D4A5AE24793F7700469190 /* Duppy.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Duppy.app; sourceTree = BUILT_PRODUCTS_DIR; }; 88D4A5B124793F7700469190 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 88D4A5B524793F7700469190 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; @@ -72,6 +74,7 @@ 88D4A5A524793F7700469190 = { isa = PBXGroup; children = ( + 88254A33247A66EE001CB040 /* Entitlements.xml */, 88D4A5E12479952D00469190 /* .gitignore */, 88D4A5DD247983E500469190 /* LICENSE */, 88D4A5D52479723800469190 /* README.md */, @@ -174,6 +177,7 @@ buildActionMask = 2147483647; files = ( 88D4A5BE24793F7900469190 /* LaunchScreen.storyboard in Resources */, + 88254A34247A66EE001CB040 /* Entitlements.xml in Resources */, 88D4A5E0247985C200469190 /* icon.png in Resources */, 88D4A5BB24793F7900469190 /* Assets.xcassets in Resources */, 88D4A5B924793F7700469190 /* Main.storyboard in Resources */, @@ -350,7 +354,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0.2; + MARKETING_VERSION = 1.0.3; PRODUCT_BUNDLE_IDENTIFIER = zond80.duppy2; PRODUCT_NAME = Duppy; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -377,7 +381,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0.2; + MARKETING_VERSION = 1.0.3; PRODUCT_BUNDLE_IDENTIFIER = zond80.duppy2; PRODUCT_NAME = Duppy; PROVISIONING_PROFILE_SPECIFIER = ""; diff --git a/duppy2.xcodeproj/project.xcworkspace/xcuserdata/zond80.xcuserdatad/UserInterfaceState.xcuserstate b/duppy2.xcodeproj/project.xcworkspace/xcuserdata/zond80.xcuserdatad/UserInterfaceState.xcuserstate index fe31fa4..563db2b 100644 Binary files a/duppy2.xcodeproj/project.xcworkspace/xcuserdata/zond80.xcuserdatad/UserInterfaceState.xcuserstate and b/duppy2.xcodeproj/project.xcworkspace/xcuserdata/zond80.xcuserdatad/UserInterfaceState.xcuserstate differ