Giter VIP home page Giter VIP logo

iostrust's Introduction

Iostrust

This gem allows you to add trust certificates into the ios simulators.

The work is based on the IOSTrustStore Structure specification file from https://github.com/ADVTOOLS/ADVTrustStore

Installation

gem install iostrust

Usage

iostrust add ./cert_1.crt ./cert_2.crt

License

This project is available under the MIT license. See LICENSE for details.

iostrust's People

Contributors

yageek avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

iostrust's Issues

Doesn't work on Xcode 12.5, 14.5 IOS Devices

Doesn't work on Xcode 12.5, IOS 14.5 devices, gives the following error.

error: No such file or directory @ rb_file_s_stat - /Users/<user>/Library/Developer/CoreSimulator/Devices/54D18DA4-9E42-41E2-BEF7-F0B6545A2EC5/data/Library/Keychains/TrustStore.sqlite3. Use --trace to view backtrace

Watch simulator causes the script to fail

When I try to run the script, it fails halfway:

error: No such file or directory @ rb_file_s_stat - /Users/Allen/Library/Developer/CoreSimulator/Devices/93AB1518-A3FC-4753-AA2C-419B8D39E856/data/Library/Keychains/TrustStore.sqlite3. Use --trace to view backtrace

There is a file called device_set.plist under ~/Developer/CoreSimulator/Devices/, which describes what these devices are, and the ID of the failed device falls under com.apple.CoreSimulator.SimRuntime.watchOS-2-2. It would appear that watchOS doesn't have a TrustStore.sqlite3 file. I'm not sure whether it needs it (I don't know much about watchOS).

It would be awesome if the script excluded the device paths that correspond to non-iOS devices.

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.