Skip to content

Commit 112d30d

Browse files
authored
Remove automatic code signing for tests target (#68)
1 parent f513638 commit 112d30d

File tree

3 files changed

+8
-22
lines changed

3 files changed

+8
-22
lines changed

Example/metamask-ios-sdk.xcodeproj/project.pbxproj

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,8 @@
255255
};
256256
607FACE41AFB9204008FA782 = {
257257
CreatedOnToolsVersion = 6.3.1;
258-
DevelopmentTeam = 6TKEXNX4L5;
259258
LastSwiftMigration = 0900;
259+
ProvisioningStyle = Manual;
260260
TestTargetID = 607FACCF1AFB9204008FA782;
261261
};
262262
};
@@ -594,7 +594,8 @@
594594
isa = XCBuildConfiguration;
595595
baseConfigurationReference = D5694CDE7AD78A1D52AC0870 /* Pods-metamask-ios-sdk_Tests.debug.xcconfig */;
596596
buildSettings = {
597-
DEVELOPMENT_TEAM = 6TKEXNX4L5;
597+
CODE_SIGN_STYLE = Manual;
598+
DEVELOPMENT_TEAM = "";
598599
FRAMEWORK_SEARCH_PATHS = (
599600
"$(PLATFORM_DIR)/Developer/Library/Frameworks",
600601
"$(inherited)",
@@ -608,6 +609,7 @@
608609
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
609610
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)";
610611
PRODUCT_NAME = "$(TARGET_NAME)";
612+
PROVISIONING_PROFILE_SPECIFIER = "";
611613
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
612614
SWIFT_VERSION = 5.0;
613615
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/metamask-ios-sdk_Example.app/metamask-ios-sdk_Example";
@@ -618,7 +620,8 @@
618620
isa = XCBuildConfiguration;
619621
baseConfigurationReference = 780C3F18921DAF52E227C55E /* Pods-metamask-ios-sdk_Tests.release.xcconfig */;
620622
buildSettings = {
621-
DEVELOPMENT_TEAM = 6TKEXNX4L5;
623+
CODE_SIGN_STYLE = Manual;
624+
DEVELOPMENT_TEAM = "";
622625
FRAMEWORK_SEARCH_PATHS = (
623626
"$(PLATFORM_DIR)/Developer/Library/Frameworks",
624627
"$(inherited)",
@@ -628,6 +631,7 @@
628631
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
629632
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)";
630633
PRODUCT_NAME = "$(TARGET_NAME)";
634+
PROVISIONING_PROFILE_SPECIFIER = "";
631635
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
632636
SWIFT_VERSION = 5.0;
633637
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/metamask-ios-sdk_Example.app/metamask-ios-sdk_Example";

Sources/metamask-ios-sdk/Classes/Ethereum/EthereumRequest.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public struct EthereumRequest<T: CodableData>: CodableData {
2727

2828
public func socketRepresentation() -> NetworkData {
2929
[
30-
"id": id ?? "",
30+
"id": (id ?? "") as String,
3131
"method": method,
3232
"parameters": try? params.socketRepresentation()
3333
]

metamask-ios-sdk.podspec

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,14 @@
1-
#
2-
# Be sure to run `pod lib lint metamask-ios-sdk.podspec' to ensure this is a
3-
# valid spec before submitting.
4-
#
5-
# Any lines starting with a # are optional, but their use is encouraged
6-
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
7-
#
8-
91
Pod::Spec.new do |s|
102
s.name = 'metamask-ios-sdk'
113
s.version = '0.1.1'
124
s.summary = 'Enable users to easily connect with their MetaMask Mobile wallet.'
135
s.swift_version = '5.0'
146

15-
# This description is used to generate tags and improve search results.
16-
# * Think: What does it do? Why did you write it? What is the focus?
17-
# * Try to keep it short, snappy and to the point.
18-
# * Write the description between the DESC delimiters below.
19-
# * Finally, don't worry about the indent, CocoaPods strips it!
20-
217
s.description = <<-DESC
228
The iOS MetaMask SDK enables native iOS apps to interact with the Ethereum blockchain via the MetaMask Mobile wallet.
239
DESC
2410

2511
s.homepage = 'https://github.com/MetaMask/metamask-ios-sdk'
26-
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
2712
s.license = { :type => 'Copyright ConsenSys Software Inc. 2022. All rights reserved.', :file => 'LICENSE' }
2813
s.author = { 'MetaMask' => '[email protected]' }
2914
s.source = { :git => 'https://github.com/MetaMask/metamask-ios-sdk.git', :tag => s.version.to_s }
@@ -33,9 +18,6 @@ The iOS MetaMask SDK enables native iOS apps to interact with the Ethereum block
3318
s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
3419
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
3520

36-
# s.resource_bundles = {
37-
# 'metamask-ios-sdk' => ['metamask-ios-sdk/Assets/*.png']
38-
# }
3921
s.vendored_frameworks = 'Sources/metamask-ios-sdk/Frameworks/Ecies.xcframework'
4022
s.dependency 'Socket.IO-Client-Swift', '~> 16.0.1'
4123
end

0 commit comments

Comments
 (0)