Skip to content

Commit a557d28

Browse files
committed
chore: build ios app
1 parent 5e71ec8 commit a557d28

File tree

6 files changed

+2416
-42
lines changed

6 files changed

+2416
-42
lines changed

example/Gemfile.lock

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
CFPropertyList (3.0.7)
5+
base64
6+
nkf
7+
rexml
8+
activesupport (7.2.2.1)
9+
base64
10+
benchmark (>= 0.3)
11+
bigdecimal
12+
concurrent-ruby (~> 1.0, >= 1.3.1)
13+
connection_pool (>= 2.2.5)
14+
drb
15+
i18n (>= 1.6, < 2)
16+
logger (>= 1.4.2)
17+
minitest (>= 5.1)
18+
securerandom (>= 0.3)
19+
tzinfo (~> 2.0, >= 2.0.5)
20+
addressable (2.8.7)
21+
public_suffix (>= 2.0.2, < 7.0)
22+
algoliasearch (1.27.5)
23+
httpclient (~> 2.8, >= 2.8.3)
24+
json (>= 1.5.1)
25+
atomos (0.1.3)
26+
base64 (0.3.0)
27+
benchmark (0.4.1)
28+
bigdecimal (3.2.2)
29+
claide (1.1.0)
30+
cocoapods (1.15.2)
31+
addressable (~> 2.8)
32+
claide (>= 1.0.2, < 2.0)
33+
cocoapods-core (= 1.15.2)
34+
cocoapods-deintegrate (>= 1.0.3, < 2.0)
35+
cocoapods-downloader (>= 2.1, < 3.0)
36+
cocoapods-plugins (>= 1.0.0, < 2.0)
37+
cocoapods-search (>= 1.0.0, < 2.0)
38+
cocoapods-trunk (>= 1.6.0, < 2.0)
39+
cocoapods-try (>= 1.1.0, < 2.0)
40+
colored2 (~> 3.1)
41+
escape (~> 0.0.4)
42+
fourflusher (>= 2.3.0, < 3.0)
43+
gh_inspector (~> 1.0)
44+
molinillo (~> 0.8.0)
45+
nap (~> 1.0)
46+
ruby-macho (>= 2.3.0, < 3.0)
47+
xcodeproj (>= 1.23.0, < 2.0)
48+
cocoapods-core (1.15.2)
49+
activesupport (>= 5.0, < 8)
50+
addressable (~> 2.8)
51+
algoliasearch (~> 1.0)
52+
concurrent-ruby (~> 1.1)
53+
fuzzy_match (~> 2.0.4)
54+
nap (~> 1.0)
55+
netrc (~> 0.11)
56+
public_suffix (~> 4.0)
57+
typhoeus (~> 1.0)
58+
cocoapods-deintegrate (1.0.5)
59+
cocoapods-downloader (2.1)
60+
cocoapods-plugins (1.0.0)
61+
nap
62+
cocoapods-search (1.0.1)
63+
cocoapods-trunk (1.6.0)
64+
nap (>= 0.8, < 2.0)
65+
netrc (~> 0.11)
66+
cocoapods-try (1.2.0)
67+
colored2 (3.1.2)
68+
concurrent-ruby (1.3.3)
69+
connection_pool (2.5.3)
70+
drb (2.2.3)
71+
escape (0.0.4)
72+
ethon (0.16.0)
73+
ffi (>= 1.15.0)
74+
ffi (1.17.2)
75+
fourflusher (2.3.1)
76+
fuzzy_match (2.0.4)
77+
gh_inspector (1.1.3)
78+
httpclient (2.9.0)
79+
mutex_m
80+
i18n (1.14.7)
81+
concurrent-ruby (~> 1.0)
82+
json (2.12.2)
83+
logger (1.7.0)
84+
minitest (5.25.5)
85+
molinillo (0.8.0)
86+
mutex_m (0.3.0)
87+
nanaimo (0.3.0)
88+
nap (1.1.0)
89+
netrc (0.11.0)
90+
nkf (0.2.0)
91+
public_suffix (4.0.7)
92+
rexml (3.4.1)
93+
ruby-macho (2.5.1)
94+
securerandom (0.4.1)
95+
typhoeus (1.4.1)
96+
ethon (>= 0.9.0)
97+
tzinfo (2.0.6)
98+
concurrent-ruby (~> 1.0)
99+
xcodeproj (1.25.1)
100+
CFPropertyList (>= 2.3.3, < 4.0)
101+
atomos (~> 0.1.3)
102+
claide (>= 1.0.2, < 2.0)
103+
colored2 (~> 3.1)
104+
nanaimo (~> 0.3.0)
105+
rexml (>= 3.3.6, < 4.0)
106+
107+
PLATFORMS
108+
ruby
109+
110+
DEPENDENCIES
111+
activesupport (>= 6.1.7.5, != 7.1.0)
112+
benchmark
113+
bigdecimal
114+
cocoapods (>= 1.13, != 1.15.1, != 1.15.0)
115+
concurrent-ruby (< 1.3.4)
116+
logger
117+
mutex_m
118+
xcodeproj (< 1.26.0)
119+
120+
RUBY VERSION
121+
ruby 3.4.4p34
122+
123+
BUNDLED WITH
124+
2.6.7

example/ios/MusicLibraryExample.xcodeproj/project.pbxproj

Lines changed: 22 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,10 @@
1111
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
1212
761780ED2CA45674006654EE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 761780EC2CA45674006654EE /* AppDelegate.swift */; };
1313
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
14+
D9E9710F6DD265B06507D3D3 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */; };
1415
/* End PBXBuildFile section */
1516

16-
/* Begin PBXContainerItemProxy section */
17-
00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = {
18-
isa = PBXContainerItemProxy;
19-
containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
20-
proxyType = 1;
21-
remoteGlobalIDString = 13B07F861A680F5B00A75B9A;
22-
remoteInfo = MusicLibraryExample;
23-
};
24-
/* End PBXContainerItemProxy section */
25-
2617
/* Begin PBXFileReference section */
27-
00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
2818
13B07F961A680F5B00A75B9A /* MusicLibraryExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MusicLibraryExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
2919
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = MusicLibraryExample/Images.xcassets; sourceTree = "<group>"; };
3020
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = MusicLibraryExample/Info.plist; sourceTree = "<group>"; };
@@ -49,14 +39,6 @@
4939
/* End PBXFrameworksBuildPhase section */
5040

5141
/* Begin PBXGroup section */
52-
00E356F01AD99517003FC87E /* Supporting Files */ = {
53-
isa = PBXGroup;
54-
children = (
55-
00E356F11AD99517003FC87E /* Info.plist */,
56-
);
57-
name = "Supporting Files";
58-
sourceTree = "<group>";
59-
};
6042
13B07FAE1A68108700A75B9A /* MusicLibraryExample */ = {
6143
isa = PBXGroup;
6244
children = (
@@ -146,7 +128,8 @@
146128
83CBB9F71A601CBA00E9B192 /* Project object */ = {
147129
isa = PBXProject;
148130
attributes = {
149-
LastUpgradeCheck = 1210;
131+
BuildIndependentTargetsInParallel = YES;
132+
LastUpgradeCheck = 1620;
150133
TargetAttributes = {
151134
13B07F861A680F5B00A75B9A = {
152135
LastSwiftMigration = 1120;
@@ -172,19 +155,13 @@
172155
/* End PBXProject section */
173156

174157
/* Begin PBXResourcesBuildPhase section */
175-
00E356EC1AD99517003FC87E /* Resources */ = {
176-
isa = PBXResourcesBuildPhase;
177-
buildActionMask = 2147483647;
178-
files = (
179-
);
180-
runOnlyForDeploymentPostprocessing = 0;
181-
};
182158
13B07F8E1A680F5B00A75B9A /* Resources */ = {
183159
isa = PBXResourcesBuildPhase;
184160
buildActionMask = 2147483647;
185161
files = (
186162
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */,
187163
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
164+
D9E9710F6DD265B06507D3D3 /* PrivacyInfo.xcprivacy in Resources */,
188165
);
189166
runOnlyForDeploymentPostprocessing = 0;
190167
};
@@ -276,24 +253,19 @@
276253
};
277254
/* End PBXSourcesBuildPhase section */
278255

279-
/* Begin PBXTargetDependency section */
280-
00E356F51AD99517003FC87E /* PBXTargetDependency */ = {
281-
isa = PBXTargetDependency;
282-
target = 13B07F861A680F5B00A75B9A /* MusicLibraryExample */;
283-
targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
284-
};
285-
/* End PBXTargetDependency section */
286-
287256
/* Begin XCBuildConfiguration section */
288257
13B07F941A680F5B00A75B9A /* Debug */ = {
289258
isa = XCBuildConfiguration;
290259
baseConfigurationReference = 3B4392A12AC88292D35C810B /* Pods-MusicLibraryExample.debug.xcconfig */;
291260
buildSettings = {
292261
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
293262
CLANG_ENABLE_MODULES = YES;
263+
CODE_SIGN_STYLE = Automatic;
294264
CURRENT_PROJECT_VERSION = 1;
265+
DEVELOPMENT_TEAM = CX4KVQYCBC;
295266
ENABLE_BITCODE = NO;
296267
INFOPLIST_FILE = MusicLibraryExample/Info.plist;
268+
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.music";
297269
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
298270
LD_RUNPATH_SEARCH_PATHS = (
299271
"$(inherited)",
@@ -305,7 +277,7 @@
305277
"-ObjC",
306278
"-lc++",
307279
);
308-
PRODUCT_BUNDLE_IDENTIFIER = "musiclibrary.example";
280+
PRODUCT_BUNDLE_IDENTIFIER = musiclibrary.example;
309281
PRODUCT_NAME = MusicLibraryExample;
310282
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
311283
SWIFT_VERSION = 5.0;
@@ -319,8 +291,11 @@
319291
buildSettings = {
320292
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
321293
CLANG_ENABLE_MODULES = YES;
294+
CODE_SIGN_STYLE = Automatic;
322295
CURRENT_PROJECT_VERSION = 1;
296+
DEVELOPMENT_TEAM = CX4KVQYCBC;
323297
INFOPLIST_FILE = MusicLibraryExample/Info.plist;
298+
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.music";
324299
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
325300
LD_RUNPATH_SEARCH_PATHS = (
326301
"$(inherited)",
@@ -332,7 +307,7 @@
332307
"-ObjC",
333308
"-lc++",
334309
);
335-
PRODUCT_BUNDLE_IDENTIFIER = "musiclibrary.example";
310+
PRODUCT_BUNDLE_IDENTIFIER = musiclibrary.example;
336311
PRODUCT_NAME = MusicLibraryExample;
337312
SWIFT_VERSION = 5.0;
338313
VERSIONING_SYSTEM = "apple-generic";
@@ -372,6 +347,7 @@
372347
COPY_PHASE_STRIP = NO;
373348
ENABLE_STRICT_OBJC_MSGSEND = YES;
374349
ENABLE_TESTABILITY = YES;
350+
ENABLE_USER_SCRIPT_SANDBOXING = NO;
375351
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
376352
GCC_C_LANGUAGE_STANDARD = gnu99;
377353
GCC_DYNAMIC_NO_PIC = NO;
@@ -408,7 +384,11 @@
408384
"-DFOLLY_CFG_NO_COROUTINES=1",
409385
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
410386
);
387+
OTHER_LDFLAGS = "$(inherited) ";
388+
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
411389
SDKROOT = iphoneos;
390+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
391+
USE_HERMES = true;
412392
};
413393
name = Debug;
414394
};
@@ -445,6 +425,7 @@
445425
COPY_PHASE_STRIP = YES;
446426
ENABLE_NS_ASSERTIONS = NO;
447427
ENABLE_STRICT_OBJC_MSGSEND = YES;
428+
ENABLE_USER_SCRIPT_SANDBOXING = NO;
448429
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
449430
GCC_C_LANGUAGE_STANDARD = gnu99;
450431
GCC_NO_COMMON_BLOCKS = YES;
@@ -473,7 +454,11 @@
473454
"-DFOLLY_CFG_NO_COROUTINES=1",
474455
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
475456
);
457+
OTHER_LDFLAGS = "$(inherited) ";
458+
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
476459
SDKROOT = iphoneos;
460+
SWIFT_COMPILATION_MODE = wholemodule;
461+
USE_HERMES = true;
477462
VALIDATE_PRODUCT = YES;
478463
};
479464
name = Release;

example/ios/MusicLibraryExample.xcodeproj/xcshareddata/xcschemes/MusicLibraryExample.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1210"
3+
LastUpgradeVersion = "1620"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

example/ios/MusicLibraryExample.xcworkspace/contents.xcworkspacedata

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/ios/MusicLibraryExample/PrivacyInfo.xcprivacy

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@
66
<array>
77
<dict>
88
<key>NSPrivacyAccessedAPIType</key>
9-
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
9+
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
1010
<key>NSPrivacyAccessedAPITypeReasons</key>
1111
<array>
12-
<string>C617.1</string>
12+
<string>CA92.1</string>
1313
</array>
1414
</dict>
1515
<dict>
1616
<key>NSPrivacyAccessedAPIType</key>
17-
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
17+
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
1818
<key>NSPrivacyAccessedAPITypeReasons</key>
1919
<array>
20-
<string>CA92.1</string>
20+
<string>C617.1</string>
2121
</array>
2222
</dict>
2323
<dict>

0 commit comments

Comments
 (0)