Skip to content

Commit 7ee0ae5

Browse files
committed
Upgrade macOS
1 parent 9ad0710 commit 7ee0ae5

22 files changed

+85
-2994
lines changed

example/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,5 @@ buck-out/
5757

5858
# CocoaPods
5959
/ios/Pods/
60+
/macos/Pods/
6061
Podfile.lock

example/app.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
{
22
"name": "AsyncStorageExample",
3-
"displayName": "AsyncStorageExample"
4-
}
3+
"displayName": "AsyncStorageExample",
4+
"components": [
5+
{
6+
"appKey": "AsyncStorageExample"
7+
}
8+
]
9+
}

example/examples/GetSetClear.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export default function GetSet(_: Props) {
6363

6464
const styles = StyleSheet.create({
6565
text: {
66+
color: '#000000',
6667
fontSize: 20,
6768
textAlign: 'center',
6869
margin: 10,
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
require 'json'
2+
3+
package = JSON.parse(File.read(File.join('..', '..', 'package.json')))
4+
5+
Pod::Spec.new do |s|
6+
s.name = 'AsyncStorageExample-UITests'
7+
s.version = package['version']
8+
s.author = { package['author']['name'] => package['author']['email'] }
9+
s.license = package['license']
10+
s.homepage = package['homepage']
11+
s.source = { git: package['repository']['url'] }
12+
s.summary = 'AsyncStorageExample UI tests'
13+
14+
s.ios.deployment_target = '12.0'
15+
s.osx.deployment_target = '10.14'
16+
17+
s.dependency 'React'
18+
s.dependency 'ReactTestApp-DevSupport'
19+
20+
s.framework = 'XCTest'
21+
s.user_target_xcconfig = { 'ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES' => '$(inherited)' }
22+
23+
s.source_files = 'AsyncStorageExample-macOSUITests/**/*.{m,swift}'
24+
end

example/macos/AsyncStorageExample-macOS/AppDelegate.h

Lines changed: 0 additions & 17 deletions
This file was deleted.

example/macos/AsyncStorageExample-macOS/AppDelegate.m

Lines changed: 0 additions & 59 deletions
This file was deleted.

example/macos/AsyncStorageExample-macOS/Info.plist

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)