Skip to content

Commit ee9a81e

Browse files
committed
Remove 'UIWebView' from the comment to make App Store happy.
Update build.sh.
1 parent baac2e3 commit ee9a81e

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

TwitterKit/TwitterKit/Social/Syndication/Models/TWTRTweet.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ NS_ASSUME_NONNULL_BEGIN
9292
/**
9393
* The permalink URL for this Tweet.
9494
*
95-
* Suitable for loading in a `UIWebView`, `WKWebView` or passing to Safari:
95+
* Suitable for loading in a `WKWebView` or passing to Safari:
9696
*
9797
* `[[UIApplication sharedApplication] openURL:tweet.permalink];`
9898
*/

TwitterKit5.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "TwitterKit5"
3-
s.version = "5.1.0"
3+
s.version = "5.2.0"
44
s.summary = "Increase user engagement and app growth."
55
s.homepage = "https://github.com/touren/twitter-kit-ios"
66
s.documentation_url = "https://github.com/touren/twitter-kit-ios/wiki"

build.sh

+12-2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ xcodebuild \
1111
CONFIGURATION_BUILD_DIR=./iphonesimulator \
1212
clean build
1313

14+
## From: https://developer.apple.com/library/archive/qa/qa1940/_index.html
15+
# If code signing fails with the error "resource fork, Finder information, or similar detritus not allowed."
16+
# e.g. /usr/bin/codesign --force --sign - --timestamp=none $(pwd)/TwitterCore/iphonesimulator/TwitterCore.framework
17+
# Try:
18+
# xattr -lr /Users/SWARM5/Work/twitter-kit-ios-master/TwitterKit/iphonesimulator/TwitterKit.framework
19+
# xattr -cr /Users/SWARM5/Work/twitter-kit-ios-master/TwitterKit/iphonesimulator/TwitterKit.framework
20+
1421
## Build TwitterKit.framework - armv7, arm64
1522
xcodebuild \
1623
-project TwitterKit/TwitterKit.xcodeproj \
@@ -28,6 +35,9 @@ lipo -create -output iOS/TwitterKit.framework/TwitterKit TwitterKit/iphoneos/Twi
2835
lipo -archs iOS/TwitterKit.framework/TwitterKit
2936

3037
## Zip them into TwitterKit.zip
31-
rm TwitterKit.zip
32-
zip -r TwitterKit.zip iOS/*
38+
ZIP_FILE=TwitterKit.zip
39+
if test -f "$ZIP_FILE"; then
40+
rm "$ZIP_FILE"
41+
fi
42+
zip -r "$ZIP_FILE" iOS/*
3343
rm -rf iOS

0 commit comments

Comments
 (0)