Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RDART-1016: Cleanup iOS podspec #1658

Merged
merged 3 commits into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* None

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

### Compatibility
* Realm Studio: 15.0.0 or later.
Expand Down
14 changes: 1 addition & 13 deletions packages/realm/ios/realm.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,7 @@ Pod::Spec.new do |s|
s.library = 'c++', 'z', 'compression'

s.swift_version = '5.0'
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES',
'CURRENT_PROJECT_VERSION' => s.version,
'VERSIONING_SYSTEM' => 'apple-generic',
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++17',
'CLANG_CXX_LIBRARY' => 'libc++',
# Flutter.framework does not contain a i386 slice.
# Only x86_64 simulators are supported. Using EXCLUDED_ARCHS to exclude i386 arch.
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386',
'HEADER_SEARCH_PATHS' => [
'"$(PODS_TARGET_SRCROOT)/Classes"',
],
'FRAMEWORK_SEARCH_PATHS' => '"$(PODS_TARGET_SRCROOT)/**"'
}
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
#Use --debug to debug the install command on both prepare_command and script_phase below
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"
s.script_phases = [
Expand Down
Loading