Coder Social home page Coder Social logo

securevale / swift-confidential Goto Github PK

View Code? Open in Web Editor NEW
103.0 0.0 8.0 577 KB

Swift literals obfuscator to defend against static reverse engineering.

Home Page: https://securevale.blog/open-source

License: Apache License 2.0

Makefile 0.31% Swift 93.66% Shell 6.03%
ios literals obfuscation swift security swiftpm

swift-confidential's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

swift-confidential's Issues

failed compiling with xcodebuild

My app compiles, validates and stores correctly from Xcode IDE.
But I cannot use Xcode on my osx server so I need to use xcodebuild, where I have always successfully compiled my app with my environment variables...

I've installed both libraries with SPM both to 0.3.0 release. All works great on Xcode IDE.

My commands:

# remove all old settings
defaults delete com.apple.dt.Xcode
# skip plugin SDK validation requirement
defaults write com.apple.dt.Xcode IDESkipMacroFingerprintValidation -bool YES
defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES
defaults write com.apple.dt.Xcode IDESkipPackagePluginValidation -bool YES

xcodebuild -workspace "$PROJECT_PATH" -scheme "MYAPP" -skipPackagePluginValidation -configuration 'Release' DEVELOPMENT_TEAM="$DEVELOPER_TEAM" PROVISIONING_PROFILE=$COMPOSE_PROFILE  CODE_SIGN_IDENTITY="$CERT_ID_DISTRIBUTION" build

This is the error:

/Users/cm/Library/Developer/Xcode/DerivedData/MYAPP-aiforaavtwmmlzduwibsbgvwnosl/SourcePackages/checkouts/swift-confidential-plugin/Package.swift: error: Bundle identifier is missing. Confidential doesn't have a bundle identifier. Add a value for PRODUCT_BUNDLE_IDENTIFIER in the build settings editor. (in target 'Confidential' from project 'swift-confidential-plugin')
** BUILD FAILED **

�[1;31m Error: ATTENZIONE: Il comando [xcodebuild -workspace "MYAPP.xcworkspace" -scheme "MYAPP" build] ha restituito il seguente Error Code [65] �[0m
[�[1;31mERROR�[m] Command execution failed.

How to use

Hello, I have read the documentation of your library, but I'm still not clear about how to use it. I want to obfuscate Swift code, and I'm not sure what the generated Confidential.generated.swift file is for. Does your library only handle constants in the code, or can it obfuscate the entire code? Do you have any sample projects or examples?

Build swift-confidential and plugin From Source

Hello,

Is there any tutorial or documentation for how to build ConfidentialKit manually from the source files to add to a project? Or are there any plans to have different releases outside of SPM?
I was creating a framework and added swift-confidential and swift-confidential-plugin and everything works as expected. But when I add my framework to a test iOS app, I get 'Missing required modules ConfidentialKit.' I don't want to have to rely on the parent app to manually add the packages too in addition to my framework.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.