Adds Podfile for cocoapods
This commit is contained in:
parent
f386e11bf1
commit
657362b405
3 changed files with 23 additions and 2 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,4 +1,6 @@
|
|||
.DS_Store
|
||||
*.xcworkspace
|
||||
*.xcuser*
|
||||
project.xcworkspace
|
||||
Podfile.lock
|
||||
Pods
|
||||
|
||||
|
|
17
Podfile
Normal file
17
Podfile
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Basic Podfile template
|
||||
# Put all the pods in both targets (I did not succeed in making this nicer)
|
||||
# A Podfile always need a default platform (I get an error otherwise)
|
||||
platform :osx, '10.9'
|
||||
|
||||
target 'OSX' do
|
||||
platform :osx, '10.9'
|
||||
|
||||
# pod 'AFNetworking'
|
||||
end
|
||||
|
||||
target 'iOS' do
|
||||
platform :ios, '7.0'
|
||||
|
||||
# pod 'AFNetworking'
|
||||
end
|
||||
|
|
@ -19,3 +19,5 @@ I wanted a unified framework for OpenGL on both OSX and iOS without to much of a
|
|||
## Where to plug in
|
||||
|
||||
Just change Game.h and Game.mm to whatever you like. Note that everything in there is hardcoded and should not be regarded as example code.
|
||||
|
||||
If you need any third party libraries, just add them in the Podfile and run ```pod install```. An Xcode workspace will be generated, and you will be good to go.
|
Reference in a new issue