Skip to content

Commit

Permalink
Update to iTwin 4.7.2 (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
tcobbs-bentley authored Jun 25, 2024
1 parent 197ea90 commit 960d1a8
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
4 changes: 2 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"repositoryURL": "https://github.com/iTwin/mobile-native-ios",
"state": {
"branch": null,
"revision": "456858849159e754582a9d49124f93edfe6829c3",
"version": "4.5.32"
"revision": "d12b6be1b7910586441eacde676f663170f259c5",
"version": "4.7.29"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ let package = Package(
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
.package(name: "itwin-mobile-native", url: "https://github.com/iTwin/mobile-native-ios", .exact("4.5.32")),
.package(name: "itwin-mobile-native", url: "https://github.com/iTwin/mobile-native-ios", .exact("4.7.29")),
.package(url: "https://github.com/AsyncSwift/AsyncLocationKit.git", .upToNextMajor(from: "1.5.6")),
.package(name: "Reachability", url: "https://github.com/ashleymills/Reachability.swift", from: "5.1.0"),
.package(name: "AppAuth", url: "https://github.com/openid/AppAuth-iOS.git", .upToNextMajor(from: "1.6.0")),
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ target 'MyMobileApp' do
use_frameworks!

# Pods for MyMobileApp
pod 'itwin-mobile-native', podspec: 'https://github.com/iTwin/mobile-native-ios/releases/download/4.5.32/itwin-mobile-native-ios.podspec'
pod 'itwin-mobile-native', podspec: 'https://github.com/iTwin/mobile-native-ios/releases/download/4.7.29/itwin-mobile-native-ios.podspec'
pod 'itwin-mobile-sdk', podspec: 'https://github.com/iTwin/mobile-sdk-ios/releases/download/0.22.4/itwin-mobile-sdk.podspec'
pod 'AsyncLocationKit', podspec: 'https://github.com/iTwin/mobile-sdk-ios/releases/download/0.22.4/AsyncLocationKit.podspec'
end
Expand All @@ -63,8 +63,8 @@ end
```

## Notes
- This package is designed to be used with the [@itwin/mobile-sdk-core](https://github.com/iTwin/mobile-sdk-core) and [@itwin/mobile-ui-react](https://github.com/iTwin/mobile-ui-react) packages. Those two packages are intended to be installed via npm, and their version number must match the version number of this package. Furthermore, they use __iTwin.js 4.5.1__, and your app must use that same version of iTwin.js.
- This package is designed to be used with the [@itwin/mobile-sdk-core](https://github.com/iTwin/mobile-sdk-core) and [@itwin/mobile-ui-react](https://github.com/iTwin/mobile-ui-react) packages. Those two packages are intended to be installed via npm, and their version number must match the version number of this package. Furthermore, they use __iTwin.js 4.7.2__, and your app must use that same version of iTwin.js.

- If you are using this package via CocoaPods, make sure to set the `itwin-mobile-native` CocoaPod to version 4.5.32
- If you are using this package via CocoaPods, make sure to set the `itwin-mobile-native` CocoaPod to version 4.7.29

- You may get a warning from AppAuth's OIDExternalUserAgentIOS.h when you build any project that includes this as a Swift Package. Unfortunately, there is no way that we know of to disable that warning. It can be ignored, though.
2 changes: 1 addition & 1 deletion itwin-mobile-sdk.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ Pod::Spec.new do |spec|
spec.dependency "ReachabilitySwift"
spec.dependency "AsyncLocationKit", "~> 1.0.5"
spec.dependency "AppAuth", "~> 1.4"
spec.dependency "itwin-mobile-native", "4.5.32"
spec.dependency "itwin-mobile-native", "4.7.29"
end
12 changes: 7 additions & 5 deletions newVersion.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# This section contains global variables with values that might change in the future.
# ===================================================================================

# iTwin base versions to search for. 3.2.x - 4.5.x for now.
# iTwin base versions to search for. 3.2.x - 4.7.x for now.
itwin_base_version_search_list = [
"3\\.2\\.",
"3\\.3\\.",
Expand All @@ -28,10 +28,14 @@
"4\\.3\\.",
"4\\.4\\.",
"4\\.5\\.",
"4\\.6\\.",
"4\\.7\\.",
]
# iTwin Mobile SDK base version. 0.21.x for now.
# The version prefix when determining the latest iTwin version.
itwin_version_prefix = '4.7'
# iTwin Mobile SDK base version. 0.22.x for now.
mobile_base_version = "0.22."
# iTwin Mobile SDK base version to search for. 0.21.x for now.
# iTwin Mobile SDK base version to search for 0.21.x - 0.22.x for now.
mobile_base_version_search_list = [
"0\\.21\\.",
"0\\.22\\.",
Expand All @@ -44,8 +48,6 @@
react_app_subdir = 'cross-platform/react-app'
# Subdirectory under mobile-samples of token-server.
token_server_subdir = 'cross-platform/token-server'
# The version prefix when determining the latest iTwin version.
itwin_version_prefix = '4.5'
# The scope for iTwin npm packages.
itwin_scope = '@itwin'
# The npm packages with an @itwin/ prefix that aren't part of itwinjs-core.
Expand Down

0 comments on commit 960d1a8

Please sign in to comment.