Skip to content

Commit

Permalink
minor Readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
mats-claassen committed Apr 18, 2016
1 parent 784272e commit 7b51650
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 6 deletions.
18 changes: 18 additions & 0 deletions Example.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@
28F828C91C4B714D00330CF4 /* Frameworks */,
28F828CA1C4B714D00330CF4 /* Resources */,
287D0A811C4B7B55004566D6 /* Embed Frameworks */,
8F70A5411CC53E8400E7793A /* ShellScript */,
);
buildRules = (
);
Expand Down Expand Up @@ -273,6 +274,23 @@
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
8F70A5411CC53E8400E7793A /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"$(SRCROOT)/Carthage/Build/iOS/Eureka.framework",
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "/usr/local/bin/carthage copy-frameworks";
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
28F828C81C4B714D00330CF4 /* Sources */ = {
isa = PBXSourcesBuildPhase;
Expand Down
2 changes: 1 addition & 1 deletion GooglePlacesRow.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Pod::Spec.new do |s|
s.frameworks = "Accelerate", "AVFoundation", "CoreData", "CoreGraphics", "CoreBluetooth", "CoreLocation", "CoreText", "Foundation", "GLKit", "ImageIO", "OpenGLES", "QuartzCore", "SystemConfiguration", "GoogleMaps" # required for GoogleMaps.framework
s.vendored_frameworks = "Frameworks/GoogleMaps.framework"
s.prepare_command = <<-CMD
curl -o GoogleMaps 'https://raw.githubusercontent.com/Reflejo/GoogleMapsPodspec/master/369280b0e1f04cb7-GoogleMaps-1.13.0.tar.gz'
curl -o GoogleMaps 'https://www.gstatic.com/cpdc/369280b0e1f04cb7-GoogleMaps-1.13.0.tar.gz'
tar -zxvf GoogleMaps
CMD
#s.dependency 'GoogleMaps', '~> 1.13'
Expand Down
8 changes: 8 additions & 0 deletions GooglePlacesRow.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,10 @@
IPHONEOS_DEPLOYMENT_TARGET = 9.2;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = (
"-ObjC",
"$(inherited)",
);
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
TARGETED_DEVICE_FAMILY = "1,2";
Expand Down Expand Up @@ -409,6 +413,10 @@
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.2;
MTL_ENABLE_DEBUG_INFO = NO;
OTHER_LDFLAGS = (
"-ObjC",
"$(inherited)",
);
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
Expand Down
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ The project is experimental and open to changes although it is already quite cus
## Usage

```swift
// in AppDelegate.swift, specifically application:didFinishLaunchingWithOptions:
// or where ever you want
// in AppDelegate.swift
import GoogleMaps

// then in application:didFinishLaunchingWithOptions:
let apiKey = "YOUR_API_KEY"
GMSServices.provideAPIKey(apiKey)

Expand Down Expand Up @@ -73,9 +74,10 @@ If you use **GooglePlacesRow** in your app we would love to hear about it! Drop

Follow these steps to run Example project:
* Clone GooglePlacesRow repository
* Run `carthage update` in the root of the project
* Due to the fact that the Google Maps binary is too large to be uploaded to Github you will have to get that framework by another means and paste it inside the `Frameworks` folder (create it, if it does not exist). You can for example download it from [here](https://www.gstatic.com/cpdc/369280b0e1f04cb7-GoogleMaps-1.13.0.tar.gz).
* Open GooglePlacesRow workspace
* **Set your Google places API KEY in `AppDelegate.swift`**
* Due to the fact that the Google Maps binary is too large to be uploaded to Github you will have to get that frame work by another means and paste it inside the `Frameworks` folder (create it, if it does not exist). You can for example download it from [here](https://www.gstatic.com/cpdc/369280b0e1f04cb7-GoogleMaps-1.13.0.tar.gz)
* and run the *Example* project.


Expand All @@ -88,7 +90,7 @@ Follow these steps to run Example project:
To install GooglePlacesRow, simply add the following line to your Podfile:

```ruby
pod 'GooglePlacesRow', '~> 1.0'
pod 'GooglePlacesRow'
```

#### Carthage
Expand All @@ -98,7 +100,7 @@ pod 'GooglePlacesRow', '~> 1.0'
To install GooglePlacesRow, simply add the following line to your Cartfile:

```ogdl
github "EurekaCommunity/GooglePlacesRow" ~> 1.0
github "EurekaCommunity/GooglePlacesRow"
```

## Customization
Expand Down

0 comments on commit 7b51650

Please sign in to comment.