Skip to content

Commit 4f2cd66

Browse files
author
Srđan Tubin
authored
Merge pull request #8 from adjust/v4171
Version 4.17.1
2 parents 9f52bd2 + 466f35f commit 4f2cd66

File tree

12 files changed

+64
-56
lines changed

12 files changed

+64
-56
lines changed

CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
### Version 4.17.1 (5th June 2019)
2+
#### Fixed
3+
- Fixed issue when trying to register Android plugin more than once (https://github.com/adjust/flutter_sdk/issues/7).
4+
5+
#### Native SDKs
6+
- [iOS@v4.17.3][ios_sdk_v4.17.3]
7+
- [Android@v4.17.0][android_sdk_v4.17.0]
8+
9+
---
10+
111
### Version 4.17.0 (4th December 2018)
212
#### Added
313
- Official Flutter SDK release.
@@ -49,5 +59,6 @@
4959
- [Android@v4.17.0][android_sdk_v4.17.0]
5060

5161
[ios_sdk_v4.17.0]: https://github.com/adjust/ios_sdk/tree/v4.17.0
62+
[ios_sdk_v4.17.3]: https://github.com/adjust/ios_sdk/tree/v4.17.3
5263

5364
[android_sdk_v4.17.0]: https://github.com/adjust/android_sdk/tree/v4.17.0

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ You can add Adjust SDK to your Flutter app by adding following to your `pubspec.
8686

8787
```yaml
8888
dependencies:
89-
adjust_sdk: ^4.17.0
89+
adjust_sdk: ^4.17.1
9090
```
9191
9292
Then navigate to your project in the terminal and run:
@@ -376,15 +376,15 @@ public class MainActivity extends FlutterActivity {
376376

377377
Intent intent = getIntent();
378378
Uri data = intent.getData();
379-
AdjustSdk.appWillOpenUrl(data);
379+
AdjustSdk.appWillOpenUrl(data, this);
380380
}
381381

382382
// Or make the cakll in onNewIntent.
383383
@Override
384384
protected void onNewIntent(Intent intent) {
385385
super.onNewIntent(intent);
386386
Uri data = intent.getData();
387-
AdjustSdk.appWillOpenUrl(data);
387+
AdjustSdk.appWillOpenUrl(data, this);
388388
}
389389
}
390390
```

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.17.0
1+
4.17.1

android/src/main/java/com/adjust/sdk/flutter/AdjustSdk.java

+11-13
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,19 @@
4747

4848
public class AdjustSdk implements MethodCallHandler {
4949
private static String TAG = "AdjustBridge";
50-
private static MethodChannel channel;
51-
private static Context applicationContext;
5250
private static boolean launchDeferredDeeplink = true;
51+
private MethodChannel channel;
52+
private Context applicationContext;
53+
54+
AdjustSdk(MethodChannel channel, Context applicationContext) {
55+
this.channel = channel;
56+
this.applicationContext = applicationContext;
57+
}
5358

5459
// Plugin registration.
5560
public static void registerWith(Registrar registrar) {
56-
if (channel != null) {
57-
Log.e(TAG, "You should not call registerWith more than once!");
58-
return;
59-
}
60-
61-
AdjustSdk adjustSdk = new AdjustSdk();
62-
applicationContext = registrar.context();
63-
channel = new MethodChannel(registrar.messenger(), "com.adjust.sdk/api");
64-
channel.setMethodCallHandler(adjustSdk);
61+
final MethodChannel channel = new MethodChannel(registrar.messenger(), "com.adjust.sdk/api");
62+
channel.setMethodCallHandler(new AdjustSdk(channel, registrar.context()));
6563
}
6664

6765
@Override
@@ -519,8 +517,8 @@ private void appWillOpenUrl(final MethodCall call, final Result result) {
519517
}
520518

521519
// Exposed for handling deep linking from native layer of the example app.
522-
public static void appWillOpenUrl(Uri deeplink) {
523-
Adjust.appWillOpenUrl(deeplink, applicationContext);
520+
public static void appWillOpenUrl(Uri deeplink, Context context) {
521+
Adjust.appWillOpenUrl(deeplink, context);
524522
}
525523

526524
private void sendFirstPackages(final Result result) {

example/android/app/src/main/java/com/adjust/examples/MainActivity.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ protected void onCreate(Bundle savedInstanceState) {
1717

1818
Intent intent = getIntent();
1919
Uri data = intent.getData();
20-
AdjustSdk.appWillOpenUrl(data);
20+
AdjustSdk.appWillOpenUrl(data, this);
2121
}
2222

2323
@Override
2424
protected void onNewIntent(Intent intent) {
2525
super.onNewIntent(intent);
2626
Uri data = intent.getData();
27-
AdjustSdk.appWillOpenUrl(data);
27+
AdjustSdk.appWillOpenUrl(data, this);
2828
}
2929
}

example/ios/Podfile.lock

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
PODS:
2-
- Adjust (4.17.0):
3-
- Adjust/Core (= 4.17.0)
4-
- Adjust/Core (4.17.0)
5-
- adjust_sdk (0.0.3):
6-
- Adjust (~> 4.17.0)
2+
- Adjust (4.17.3):
3+
- Adjust/Core (= 4.17.3)
4+
- Adjust/Core (4.17.3)
5+
- adjust_sdk (4.17.1):
6+
- Adjust (~> 4.17.3)
77
- Flutter
88
- Flutter (1.0.0)
99

1010
DEPENDENCIES:
1111
- adjust_sdk (from `Pods/.symlinks/plugins/adjust_sdk/ios`)
12-
- Flutter (from `Pods/.symlinks/flutter/ios-release`)
12+
- Flutter (from `Pods/.symlinks/flutter/ios`)
1313

1414
SPEC REPOS:
1515
https://github.com/cocoapods/specs.git:
@@ -19,13 +19,13 @@ EXTERNAL SOURCES:
1919
adjust_sdk:
2020
:path: Pods/.symlinks/plugins/adjust_sdk/ios
2121
Flutter:
22-
:path: Pods/.symlinks/flutter/ios-release
22+
:path: Pods/.symlinks/flutter/ios
2323

2424
SPEC CHECKSUMS:
25-
Adjust: eb365f1c905476877592afbae5851624b57d98a5
26-
adjust_sdk: 0e769415f179dd63292ab832eacb9f7d3fc99f11
27-
Flutter: 9d0fac939486c9aba2809b7982dfdbb47a7b0296
25+
Adjust: d77428a8e5198af821a059856376b9f16debdcc7
26+
adjust_sdk: e4801b30c552aae79a4267d93821e3a73e14640e
27+
Flutter: 58dd7d1b27887414a370fcccb9e645c08ffd7a6a
2828

2929
PODFILE CHECKSUM: 13dcf421f4da2e937a57e8ba760ed880beae536f
3030

31-
COCOAPODS: 1.5.2
31+
COCOAPODS: 1.7.1

example/ios/Runner.xcodeproj/project.pbxproj

+7-7
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
/* Begin PBXBuildFile section */
1010
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
11-
2D5378261FAA1A9400D5DBA9 /* flutter_assets in Resources */ = {isa = PBXBuildFile; fileRef = 2D5378251FAA1A9400D5DBA9 /* flutter_assets */; };
1211
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
1312
3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; };
1413
3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
@@ -40,9 +39,9 @@
4039
/* Begin PBXFileReference section */
4140
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
4241
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
43-
2D5378251FAA1A9400D5DBA9 /* flutter_assets */ = {isa = PBXFileReference; lastKnownFileType = folder; name = flutter_assets; path = Flutter/flutter_assets; sourceTree = SOURCE_ROOT; };
4442
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
4543
3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = "<group>"; };
44+
5AA730268CE76F51DB29789A /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
4645
5C27616AEBB6B5DC1DE05B3B /* libPods-Runner.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Runner.a"; sourceTree = BUILT_PRODUCTS_DIR; };
4746
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
4847
7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
@@ -57,6 +56,7 @@
5756
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
5857
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
5958
9D47743B21B55A72006CDE86 /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = "<group>"; };
59+
BD0852E93C31E6223A6F6A61 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
6060
/* End PBXFileReference section */
6161

6262
/* Begin PBXFrameworksBuildPhase section */
@@ -84,14 +84,15 @@
8484
593A698012D377528BF34DC3 /* Pods */ = {
8585
isa = PBXGroup;
8686
children = (
87+
BD0852E93C31E6223A6F6A61 /* Pods-Runner.debug.xcconfig */,
88+
5AA730268CE76F51DB29789A /* Pods-Runner.release.xcconfig */,
8789
);
8890
name = Pods;
8991
sourceTree = "<group>";
9092
};
9193
9740EEB11CF90186004384FC /* Flutter */ = {
9294
isa = PBXGroup;
9395
children = (
94-
2D5378251FAA1A9400D5DBA9 /* flutter_assets */,
9596
3B80C3931E831B6300D905FE /* App.framework */,
9697
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
9798
9740EEBA1CF902C7004384FC /* Flutter.framework */,
@@ -217,7 +218,6 @@
217218
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
218219
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
219220
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
220-
2D5378261FAA1A9400D5DBA9 /* flutter_assets in Resources */,
221221
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
222222
);
223223
runOnlyForDeploymentPostprocessing = 0;
@@ -263,16 +263,16 @@
263263
files = (
264264
);
265265
inputPaths = (
266-
"${SRCROOT}/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh",
267-
"${PODS_ROOT}/.symlinks/flutter/ios-release/Flutter.framework",
266+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh",
267+
"${PODS_ROOT}/.symlinks/flutter/ios/Flutter.framework",
268268
);
269269
name = "[CP] Embed Pods Frameworks";
270270
outputPaths = (
271271
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Flutter.framework",
272272
);
273273
runOnlyForDeploymentPostprocessing = 0;
274274
shellPath = /bin/sh;
275-
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
275+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
276276
showEnvVarsInLog = 0;
277277
};
278278
9740EEB61CF901F6004384FC /* Run Script */ = {

ios/adjust_sdk.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'adjust_sdk'
3-
s.version = '4.17.0'
3+
s.version = '4.17.1'
44
s.summary = 'Adjust Flutter SDK for iOS platform'
55
s.description = <<-DESC
66
Adjust Flutter SDK for iOS platform.
@@ -14,5 +14,5 @@ Pod::Spec.new do |s|
1414
s.ios.deployment_target = '8.0'
1515

1616
s.dependency 'Flutter'
17-
s.dependency 'Adjust', '~> 4.17.0'
17+
s.dependency 'Adjust', '~> 4.17.3'
1818
end

lib/adjust.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import 'package:adjust_sdk/adjust_event.dart';
1515
import 'package:adjust_sdk/adjust_attribution.dart';
1616

1717
class Adjust {
18-
static const String _sdkPrefix = 'flutter4.17.0';
18+
static const String _sdkPrefix = 'flutter4.17.1';
1919
static const MethodChannel _channel = const MethodChannel('com.adjust.sdk/api');
2020

2121
static void start(AdjustConfig config) {

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: adjust_sdk
22
description: This is the Flutter SDK of Adjust™. You can read more about Adjust™ at adjust.com.
33
author: Adjust GmbH <srdjan@adjust.com>
44
homepage: https://github.com/adjust/flutter_sdk
5-
version: 4.17.0
5+
version: 4.17.1
66

77
environment:
88
sdk: ">=2.0.0 <3.0.0"

test/android/src/main/java/com/adjust/test/testlib/TestlibPlugin.java

+8-9
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,22 @@
1818
import com.adjust.testlibrary.TestLibrary;
1919

2020
import java.util.HashMap;
21-
import java.util.List;
2221
import java.util.Map;
2322

2423
/** TestlibPlugin */
2524
public class TestlibPlugin implements MethodCallHandler {
2625
private static String TAG = "ADJUST-TESTLIB-PLUGIN-BRIDGE";
27-
private static MethodChannel channel;
28-
private static TestLibrary testLibrary = null;
26+
private TestLibrary testLibrary = null;
27+
private MethodChannel channel;
28+
29+
TestlibPlugin(MethodChannel channel) {
30+
this.channel = channel;
31+
}
2932

3033
/** Plugin registration. */
3134
public static void registerWith(Registrar registrar) {
32-
if (channel != null) {
33-
throw new IllegalStateException("You should not call registerWith more than once.");
34-
}
35-
36-
channel = new MethodChannel(registrar.messenger(), "testlib");
37-
channel.setMethodCallHandler(new TestlibPlugin());
35+
final MethodChannel channel = new MethodChannel(registrar.messenger(), "testlib");
36+
channel.setMethodCallHandler(new TestlibPlugin(channel));
3837
}
3938

4039
@Override

test/testapp/ios/Runner.xcodeproj/project.pbxproj

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
/* Begin PBXBuildFile section */
1010
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
11-
2D5378261FAA1A9400D5DBA9 /* flutter_assets in Resources */ = {isa = PBXBuildFile; fileRef = 2D5378251FAA1A9400D5DBA9 /* flutter_assets */; };
1211
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
1312
3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; };
1413
3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
@@ -41,9 +40,9 @@
4140
/* Begin PBXFileReference section */
4241
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
4342
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
44-
2D5378251FAA1A9400D5DBA9 /* flutter_assets */ = {isa = PBXFileReference; lastKnownFileType = folder; name = flutter_assets; path = Flutter/flutter_assets; sourceTree = SOURCE_ROOT; };
4543
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
4644
3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = "<group>"; };
45+
4B14F3CEA404A0CB4ACCF554 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
4746
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
4847
7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
4948
7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
@@ -56,6 +55,7 @@
5655
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
5756
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
5857
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
58+
B47CCA172CA8B085CD00A4AE /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
5959
FA6D2ADCA3E99F20698382B6 /* libPods-Runner.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Runner.a"; sourceTree = BUILT_PRODUCTS_DIR; };
6060
/* End PBXFileReference section */
6161

@@ -76,6 +76,8 @@
7676
6EB48117BB5A78EBE9A12858 /* Pods */ = {
7777
isa = PBXGroup;
7878
children = (
79+
4B14F3CEA404A0CB4ACCF554 /* Pods-Runner.debug.xcconfig */,
80+
B47CCA172CA8B085CD00A4AE /* Pods-Runner.release.xcconfig */,
7981
);
8082
name = Pods;
8183
sourceTree = "<group>";
@@ -91,7 +93,6 @@
9193
9740EEB11CF90186004384FC /* Flutter */ = {
9294
isa = PBXGroup;
9395
children = (
94-
2D5378251FAA1A9400D5DBA9 /* flutter_assets */,
9596
3B80C3931E831B6300D905FE /* App.framework */,
9697
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
9798
9740EEBA1CF902C7004384FC /* Flutter.framework */,
@@ -212,7 +213,6 @@
212213
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
213214
9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */,
214215
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
215-
2D5378261FAA1A9400D5DBA9 /* flutter_assets in Resources */,
216216
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
217217
);
218218
runOnlyForDeploymentPostprocessing = 0;
@@ -272,7 +272,7 @@
272272
files = (
273273
);
274274
inputPaths = (
275-
"${SRCROOT}/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh",
275+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh",
276276
"${PODS_ROOT}/../.symlinks/flutter/ios/Flutter.framework",
277277
);
278278
name = "[CP] Embed Pods Frameworks";
@@ -281,7 +281,7 @@
281281
);
282282
runOnlyForDeploymentPostprocessing = 0;
283283
shellPath = /bin/sh;
284-
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
284+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
285285
showEnvVarsInLog = 0;
286286
};
287287
/* End PBXShellScriptBuildPhase section */

0 commit comments

Comments
 (0)