Coder Social home page Coder Social logo

carte's People

Contributors

aglenn avatar devxoul avatar kimdarren avatar

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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

carte's Issues

RuntimeError when 'pod install'

I get this error when trying to install pods. Xcode 10 and CocoaPods 1.6.0.beta.1 (and also the latest stable):

........./MyApp/Pods/Carte/Sources/Carte/ruby/2.3.0/gems/xcodeproj-1.5.2/lib/xcodeproj/project/object.rb:321:in 'configure_with_plist': [!] Xcodeproj doesn't know about the following attributes {"inputFileListPaths"=>[], "outputFileListPaths"=>[]} for the 'PBXShellScriptBuildPhase' isa. (RuntimeError)

Any ideas?

Issue with build script

The build script is added to all targets in the Xcode project, and this leads to build errors when you have a Watch App and Extension, because the script is copied to the build phase of the Watch App and Extension targets as well, and since Carte does not support watchOS, Xcode isn't able to run the script (because it can't find the script file on the Watch App and Extension paths).

When removing the build script code from the Watch App and Extension targets, the script code is erased from other targets as well.

Currently, I have to modify the build script in Xcode and set it to:

if [ "${TARGET_NAME}" = "App Target Name" ]; then
ruby ${PODS_ROOT}/Carte/Sources/Carte/carte.rb pre
fi
if [ "${TARGET_NAME}" = "App Target Name" ]; then
ruby ${PODS_ROOT}/Carte/Sources/Carte/carte.rb post
fi

It would be nice if the library didn't install the build script on non-iOS targets.

PS: I am on Xcode 9.2

[Xcodeproj] Unknown object version. (RuntimeError) executing carte.rb configure

The error seems to be related to the processing of a library (Zoom SDK) included in my project.
The library was build using XCode 12 and it is distributed as xcframework.

My understanding is that the xcodeproj-1.8.2 library used by Carte is too old for processing this kind of component.

Traceback (most recent call last):
3: from /Volumes/extra/Dev/App-iOS/App/Pods/Carte/Sources/Carte/carte.rb:152:in <main>' 2: from /Volumes/extra/Dev/App-iOS/App/Pods/Carte/Sources/Carte/carte.rb:127:in run'
1: from /Volumes/extra/Dev/App-iOS/App/Pods/Carte/Sources/Carte/ruby/2.6.0/gems/xcodeproj-1.8.2/lib/xcodeproj/project.rb:112:in open' /Volumes/extra/Dev/App-iOS/App/Pods/Carte/Sources/Carte/ruby/2.6.0/gems/xcodeproj-1.8.2/lib/xcodeproj/project.rb:227:in initialize_from_file': [Xcodeproj] Unknown object version. (RuntimeError)

Unfortunately I do not have specific skills about Ruby and Gems so I really do not know how to proceed for updating xcodeproj gem.

I did some experiments updating xcodeproj to version 1.21.0 and the ruby script seems to work fine.
see "update_xcodeproj" branch in my fork
https://github.com/nerocristallo/Carte/tree/feature/update_xcodeproj

Carte shows only it's license

I added carte to my project but when I push the CarteViewController it includes only the carte license no other libraries licenses.

`uuid_with_name': uninitialized constant ProjectIntegrator::Digest (NameError)

The post_install is resulting in an error on my machine:

post_install do |installer|
    pods_dir = File.dirname(installer.pods_project.path)
    at_exit { `ruby #{pods_dir}/Carte/Sources/Carte/carte.rb configure` }
end
MBP17:app motto$ pod install
Analyzing dependencies
Downloading dependencies
Using Carte (2.1.6)
[...]
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 6 dependencies from the Podfile and 10 total pods installed.

Traceback (most recent call last):
	6: from /Users/motto/git/dw/ios/app/Pods/Carte/Sources/Carte/carte.rb:152:in `<main>'
	5: from /Users/motto/git/dw/ios/app/Pods/Carte/Sources/Carte/carte.rb:129:in `run'
	4: from /Users/motto/git/dw/ios/app/Pods/Carte/Sources/Carte/carte.rb:17:in `integrate'
	3: from /Users/motto/git/dw/ios/app/Pods/Carte/Sources/Carte/carte.rb:17:in `each'
	2: from /Users/motto/git/dw/ios/app/Pods/Carte/Sources/Carte/carte.rb:24:in `block in integrate'
	1: from /Users/motto/git/dw/ios/app/Pods/Carte/Sources/Carte/carte.rb:52:in `new_script_phase'
/Users/motto/git/dw/ios/app/Pods/Carte/Sources/Carte/carte.rb:62:in `uuid_with_name': uninitialized constant ProjectIntegrator::Digest (NameError)

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.