Skip to content

Instantly share code, notes, and snippets.

View idokleinman's full-sized avatar

Ido Kleinman idokleinman

  • San Francisco, CA
View GitHub Profile
echo "Creating an SSH key for you..."
ssh-keygen -t rsa
echo "Please add this public key to Github \n"
echo "https://github.com/account/ssh \n"
read -p "Press [Enter] key after this..."
echo "Installing xcode-stuff"
xcode-select --install
Last login: Sat Nov 21 11:48:08 on ttys000
Idos-MacBook-Pro:~ ido$ particle
Welcome to the Particle Command line utility!
Version 1.8.16
https://github.com/spark/particle-cli
Usage: particle <command_name> <arguments>
Common Commands:
@idokleinman
idokleinman / gist:ba77b0ff1034b4ad751c
Created October 9, 2015 19:04
npm scoped modules issue
[Error: Cannot find module './pathMatch' from '/Users/ido/projects/Spark/device-setup/node_modules/@particle/api/lib']
stream:
Labeled {
_readableState:
ReadableState {
highWaterMark: 16,
buffer: [],
length: 0,
pipes: [Object],
pipesCount: 1,
My "SparkSetup" pod podspec contains a subspec for resource bundle:
s.subspec 'Resources' do |resources|
resources.resource_bundle = {'SparkSetup' => ['Resources/**/*']}
end
the Resources folder contains assets catalog of format Images.xcassets
My project contains the main lib target and resource-bundle target which contains the storyboard and the asset catalog file.
when trying to `pod lib lint` I get:
This file has been truncated, but you can view the full file.
-> SparkSetup
2015-08-12 14:47:45.460 ruby[30143:650319] warning: The file reference for "Contents.json" is a member of multiple groups ("1.imageset" and "2.imageset"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path.
2015-08-12 14:47:45.460 ruby[30143:650319] warning: The file reference for "Contents.json" is a member of multiple groups ("2.imageset" and "3.imageset"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path.
2015-08-12 14:47:45.460 ruby[30143:650319] warning: The file reference for "Contents.json" is a member of multiple groups ("3.imageset" and "AppIcon.appiconset"); this indicates a m
Update all pods
Updating local specs repositories
Analyzing dependencies
2015-07-30 12:33:43.236 ruby[83272:2095114] warning: The file reference for "Contents.json" is a member of multiple groups ("1.imageset" and "2.imageset"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path.
2015-07-30 12:33:43.237 ruby[83272:2095114] warning: The file reference for "Contents.json" is a member of multiple groups ("2.imageset" and "3.imageset"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path.
2015-07-30 12:33:43.237 ruby[83272:2095114] warning: The file reference for "Contents.json" is a member of multiple groups
### Keybase proof
I hereby claim:
* I am idokleinman on github.
* I am idok (https://keybase.io/idok) on keybase.
* I have a public key whose fingerprint is 185F D289 F398 6BB2 5E8A 53E7 537B 7544 C118 DDC6
To claim this, I am signing this object: