Skip to content

Commit 7b51650

Browse files
committed
minor Readme update
1 parent 784272e commit 7b51650

File tree

4 files changed

+34
-6
lines changed

4 files changed

+34
-6
lines changed

Example.xcodeproj/project.pbxproj

+18
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@
164164
28F828C91C4B714D00330CF4 /* Frameworks */,
165165
28F828CA1C4B714D00330CF4 /* Resources */,
166166
287D0A811C4B7B55004566D6 /* Embed Frameworks */,
167+
8F70A5411CC53E8400E7793A /* ShellScript */,
167168
);
168169
buildRules = (
169170
);
@@ -273,6 +274,23 @@
273274
};
274275
/* End PBXResourcesBuildPhase section */
275276

277+
/* Begin PBXShellScriptBuildPhase section */
278+
8F70A5411CC53E8400E7793A /* ShellScript */ = {
279+
isa = PBXShellScriptBuildPhase;
280+
buildActionMask = 2147483647;
281+
files = (
282+
);
283+
inputPaths = (
284+
"$(SRCROOT)/Carthage/Build/iOS/Eureka.framework",
285+
);
286+
outputPaths = (
287+
);
288+
runOnlyForDeploymentPostprocessing = 0;
289+
shellPath = /bin/sh;
290+
shellScript = "/usr/local/bin/carthage copy-frameworks";
291+
};
292+
/* End PBXShellScriptBuildPhase section */
293+
276294
/* Begin PBXSourcesBuildPhase section */
277295
28F828C81C4B714D00330CF4 /* Sources */ = {
278296
isa = PBXSourcesBuildPhase;

GooglePlacesRow.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
1616
s.frameworks = "Accelerate", "AVFoundation", "CoreData", "CoreGraphics", "CoreBluetooth", "CoreLocation", "CoreText", "Foundation", "GLKit", "ImageIO", "OpenGLES", "QuartzCore", "SystemConfiguration", "GoogleMaps" # required for GoogleMaps.framework
1717
s.vendored_frameworks = "Frameworks/GoogleMaps.framework"
1818
s.prepare_command = <<-CMD
19-
curl -o GoogleMaps 'https://raw.githubusercontent.com/Reflejo/GoogleMapsPodspec/master/369280b0e1f04cb7-GoogleMaps-1.13.0.tar.gz'
19+
curl -o GoogleMaps 'https://www.gstatic.com/cpdc/369280b0e1f04cb7-GoogleMaps-1.13.0.tar.gz'
2020
tar -zxvf GoogleMaps
2121
CMD
2222
#s.dependency 'GoogleMaps', '~> 1.13'

GooglePlacesRow.xcodeproj/project.pbxproj

+8
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,10 @@
368368
IPHONEOS_DEPLOYMENT_TARGET = 9.2;
369369
MTL_ENABLE_DEBUG_INFO = YES;
370370
ONLY_ACTIVE_ARCH = YES;
371+
OTHER_LDFLAGS = (
372+
"-ObjC",
373+
"$(inherited)",
374+
);
371375
SDKROOT = iphoneos;
372376
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
373377
TARGETED_DEVICE_FAMILY = "1,2";
@@ -409,6 +413,10 @@
409413
GCC_WARN_UNUSED_VARIABLE = YES;
410414
IPHONEOS_DEPLOYMENT_TARGET = 9.2;
411415
MTL_ENABLE_DEBUG_INFO = NO;
416+
OTHER_LDFLAGS = (
417+
"-ObjC",
418+
"$(inherited)",
419+
);
412420
SDKROOT = iphoneos;
413421
TARGETED_DEVICE_FAMILY = "1,2";
414422
VALIDATE_PRODUCT = YES;

README.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ The project is experimental and open to changes although it is already quite cus
2525
## Usage
2626

2727
```swift
28-
// in AppDelegate.swift, specifically application:didFinishLaunchingWithOptions:
29-
// or where ever you want
28+
// in AppDelegate.swift
29+
import GoogleMaps
3030

31+
// then in application:didFinishLaunchingWithOptions:
3132
let apiKey = "YOUR_API_KEY"
3233
GMSServices.provideAPIKey(apiKey)
3334

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

7475
Follow these steps to run Example project:
7576
* Clone GooglePlacesRow repository
77+
* Run `carthage update` in the root of the project
78+
* 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).
7679
* Open GooglePlacesRow workspace
7780
* **Set your Google places API KEY in `AppDelegate.swift`**
78-
* 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)
7981
* and run the *Example* project.
8082

8183

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

9092
```ruby
91-
pod 'GooglePlacesRow', '~> 1.0'
93+
pod 'GooglePlacesRow'
9294
```
9395

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

100102
```ogdl
101-
github "EurekaCommunity/GooglePlacesRow" ~> 1.0
103+
github "EurekaCommunity/GooglePlacesRow"
102104
```
103105

104106
## Customization

0 commit comments

Comments
 (0)