Skip to content

Comments

add cocoapods support document#19

Closed
Julyyq wants to merge 1 commit intotruebit:masterfrom
Julyyq:master
Closed

add cocoapods support document#19
Julyyq wants to merge 1 commit intotruebit:masterfrom
Julyyq:master

Conversation

@Julyyq
Copy link

@Julyyq Julyyq commented Mar 23, 2015

Cocoapods is a common tool for iOS development stuff, adding "cocoapods support document" makes sense of convenience for preventing being confused to many developers I think.

@truebit
Copy link
Owner

truebit commented Mar 23, 2015

Thanks for your suggestion. I will add the cocoapods command in README; but I would not merge your commit as its description is incorrect.

@Julyyq
Copy link
Author

Julyyq commented Mar 23, 2015

@truebit The commands is worked for me, it's not professional as I'm not a pythoner, just a recommend, :).

@truebit
Copy link
Owner

truebit commented Mar 23, 2015

What you meant is to replace your command with the original one, right?

@Julyyq
Copy link
Author

Julyyq commented Mar 23, 2015

@truebit Nope, to add my code, not replace.

@truebit
Copy link
Owner

truebit commented Mar 23, 2015

I do not quite understand what Cocoapods does, I found that it seems that pod install will update Pods.xcodeproj if any changes found. So it seems that there's no need to add this extra command?

@Julyyq
Copy link
Author

Julyyq commented Mar 23, 2015

@truebit Cocoapods is a package manager for cocoa, like bundler or pip. Exactly that pod install will udpate the Pods.xcodeproj if any changes found, but for the same Podfile, team members get the different Pods/Pods.xcodeproj/project.pbxproj file, pod install don't do sort stuff like xUnique. By default, Pods folder is not added to gitignore, so I think adding the python2 -mxUnique "${PODS_ROOT}/Pods.xcodeproj/project.pbxproj" command is needful.

@truebit
Copy link
Owner

truebit commented Mar 23, 2015

OK, I have added note for cocoapods users in 34a3aca

@truebit truebit closed this Mar 23, 2015
@Julyyq
Copy link
Author

Julyyq commented Mar 23, 2015

@truebit Good tips,but I saw that your sample code is: $ python2 -mxUnique "${PODS_ROOT}/Pods.xcodeproj", It should be ${PODS_ROOT}/Pods.xcodeproj/project.pbxproj. Pod install updates the project.pbxproj file. 😁

@truebit
Copy link
Owner

truebit commented Mar 23, 2015

maybe you do not know that xUnique supports both path to find project file😄 you can try it😉


Sent from my mobile phone

On Mon, Mar 23, 2015 at 11:38 PM, Allen.Young [email protected]
wrote:

@truebit Good tips,but I saw that your sample code is: $ python2 -mxUnique "${PODS_ROOT}/Pods.xcodeproj", It should be ${PODS_ROOT}/Pods.xcodeproj/project.pbxproj. Pod install updates the project.pbxproj file. 😁

Reply to this email directly or view it on GitHub:
#19 (comment)

@Julyyq
Copy link
Author

Julyyq commented Mar 23, 2015

@truebit You must be prepense.😢

@truebit
Copy link
Owner

truebit commented Mar 24, 2015

nope, actually I used these two paths in the two introduced methods if you noticed:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants