Skip to content

Commit bb02d67

Browse files
author
Kasper Overgård Nielsen
authored
RDART-1016: Cleanup iOS podspec (#1658)
* Try to remove some cruft. In particular 'VERSIONING_SYSTEM' => 'apple-generic'. This will cause a realm_privacy_vers.c file to be formed and hence an exe to be build, which will cause trouble on app store connect. * Remove even more * Update CHANGELOG
1 parent 30527bd commit bb02d67

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* None
55

66
### Fixed
7-
* None
7+
* `realm_privacy` bundle mistakenly included an exe-file preventing app store submissions. (Issue [#1656](https://github.com/realm/realm-dart/issues/1656))
88

99
### Compatibility
1010
* Realm Studio: 15.0.0 or later.

packages/realm/ios/realm.podspec

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,7 @@ Pod::Spec.new do |s|
3737
s.library = 'c++', 'z', 'compression'
3838

3939
s.swift_version = '5.0'
40-
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES',
41-
'CURRENT_PROJECT_VERSION' => s.version,
42-
'VERSIONING_SYSTEM' => 'apple-generic',
43-
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++17',
44-
'CLANG_CXX_LIBRARY' => 'libc++',
45-
# Flutter.framework does not contain a i386 slice.
46-
# Only x86_64 simulators are supported. Using EXCLUDED_ARCHS to exclude i386 arch.
47-
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386',
48-
'HEADER_SEARCH_PATHS' => [
49-
'"$(PODS_TARGET_SRCROOT)/Classes"',
50-
],
51-
'FRAMEWORK_SEARCH_PATHS' => '"$(PODS_TARGET_SRCROOT)/**"'
52-
}
40+
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
5341
#Use --debug to debug the install command on both prepare_command and script_phase below
5442
s.prepare_command = "source \"#{project_dir}/Flutter/flutter_export_environment.sh\" && cd \"$FLUTTER_APPLICATION_PATH\" && \"$FLUTTER_ROOT/bin/dart\" run realm install --target-os-type ios"
5543
s.script_phases = [

0 commit comments

Comments
 (0)