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

Create devcontainer.json #2548

Open
wants to merge 5 commits into
base: releases/v18.0.0
Choose a base branch
from
Open
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
5 changes: 5 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"image": "mcr.microsoft.com/devcontainers/universal:2",
"features": {
}
}
46 changes: 46 additions & 0 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift

name: Swift

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: macos-latest

steps:
- uses: actions/checkout@v4
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v
- name: Setup Node.js environment
uses: actions/[email protected]
with:
# Set always-auth in npmrc.
always-auth: # optional, default is false
# Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0.
node-version: # optional
# File containing the version Spec of the version to use. Examples: package.json, .nvmrc, .node-version, .tool-versions.
node-version-file: # optional
# Target architecture for Node to use. Examples: x86, x64. Will use system architecture by default.
architecture: # optional
# Set this option if you want the action to check for the latest available version that satisfies the version spec.
check-latest: # optional
# Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN.
registry-url: # optional
# Optional scope for authenticating against scoped registries. Will fall back to the repository owner when using the GitHub Packages registry (https://npm.pkg.github.com/).
scope: # optional
# Used to pull node distributions from node-versions. Since there's a default, this is typically not supplied by the user. When running this action on github.com, the default value is sufficient. When running on GHES, you can pass a personal access token for github.com if you are experiencing rate limiting.
token: # optional, default is ${{ github.server_url == 'https://github.com' && github.token || '' }}
# Used to specify a package manager for caching in the default directory. Supported values: npm, yarn, pnpm.
cache: # optional
# Used to specify the path to a dependency file: package-lock.json, yarn.lock, etc. Supports wildcards or a list of file names for caching multiple dependencies.
cache-dependency-path: # optional

4 changes: 2 additions & 2 deletions FBAEMKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Pod::Spec.new do |s|

s.name = 'FBAEMKit'
s.version = '17.4.0'
s.version = '18.0.0'
s.summary = 'The kernal module for Facebook AEM solution'

s.description = <<-DESC
Expand Down Expand Up @@ -47,7 +47,7 @@ Pod::Spec.new do |s|

s.source = {
http: "https://github.com/facebook/facebook-ios-sdk/releases/download/v#{s.version}/FacebookSDK_Dynamic.xcframework.zip",
sha1: 'cc51c7121270855d49bac9ce391a8836d38e149f'
sha1: '35822e70b58459d5557d4c4067f54a5448fafed1'
}
s.vendored_frameworks = 'XCFrameworks/FBAEMKit.xcframework'
s.dependency 'FBSDKCoreKit_Basics', "#{s.version}"
Expand Down
4 changes: 2 additions & 2 deletions FBSDKCoreKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Pod::Spec.new do |s|

s.name = 'FBSDKCoreKit'
s.version = '17.4.0'
s.version = '18.0.0'
s.summary = 'Official Facebook SDK for iOS to access Facebook Platform core features'

s.description = <<-DESC
Expand Down Expand Up @@ -49,7 +49,7 @@ Pod::Spec.new do |s|

s.source = {
http: "https://github.com/facebook/facebook-ios-sdk/releases/download/v#{s.version}/FacebookSDK_Dynamic.xcframework.zip",
sha1: 'cc51c7121270855d49bac9ce391a8836d38e149f'
sha1: '35822e70b58459d5557d4c4067f54a5448fafed1'
}
s.vendored_frameworks = 'XCFrameworks/FBSDKCoreKit.xcframework'
s.dependency 'FBSDKCoreKit_Basics', "#{s.version}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ - (BOOL)isCompatibleWithTokenString:(NSString *)tokenString appID:(NSString *)ap
NSAssert(event != nil, @"event cannot be nil");
[event removeObjectForKey:FBSDK_APPEVENTSTATE_RECEIPTDATA_KEY];
NSMutableDictionary<FBSDKAppOperationalDataType, NSDictionary<NSString *, id> *> *operationalParameter = eventAndImplicitFlag[FBSDK_OPERATIONAL_PARAMETERS_KEY];
if (operationalParameter == nil) {
operationalParameter = [[NSMutableDictionary alloc] initWithDictionary:@{}];
}
[FBSDKTypeUtility array:events addObject:event];
[FBSDKTypeUtility array:operationalParameters addObject:operationalParameter];
}
Expand Down
4 changes: 2 additions & 2 deletions FBSDKCoreKit_Basics.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Pod::Spec.new do |s|

s.name = 'FBSDKCoreKit_Basics'
s.version = '17.4.0'
s.version = '18.0.0'
s.summary = 'The kernal module for the Core Facebook SDK'

s.description = <<-DESC
Expand Down Expand Up @@ -48,7 +48,7 @@ Pod::Spec.new do |s|

s.source = {
http: "https://github.com/facebook/facebook-ios-sdk/releases/download/v#{s.version}/FacebookSDK_Dynamic.xcframework.zip",
sha1: 'cc51c7121270855d49bac9ce391a8836d38e149f'
sha1: '35822e70b58459d5557d4c4067f54a5448fafed1'
}
s.vendored_frameworks = 'XCFrameworks/FBSDKCoreKit_Basics.xcframework'
end
4 changes: 2 additions & 2 deletions FBSDKGamingServicesKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Pod::Spec.new do |s|

s.name = 'FBSDKGamingServicesKit'
s.version = '17.4.0'
s.version = '18.0.0'
s.summary = 'Official Facebook SDK for iOS to access Facebook Gaming Services'

s.description = <<-DESC
Expand Down Expand Up @@ -51,7 +51,7 @@ Pod::Spec.new do |s|

s.source = {
http: "https://github.com/facebook/facebook-ios-sdk/releases/download/v#{s.version}/FacebookSDK_Dynamic.xcframework.zip",
sha1: 'cc51c7121270855d49bac9ce391a8836d38e149f'
sha1: '35822e70b58459d5557d4c4067f54a5448fafed1'
}
s.vendored_frameworks = "XCFrameworks/FBSDKGamingServicesKit.xcframework"
s.dependency "FBSDKCoreKit_Basics", "#{s.version}"
Expand Down
4 changes: 2 additions & 2 deletions FBSDKLoginKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Pod::Spec.new do |s|

s.name = 'FBSDKLoginKit'
s.version = '17.4.0'
s.version = '18.0.0'
s.summary = 'Official Facebook SDK for iOS to access Facebook Platform with features like Login, Share and Message Dialog, App Links, and Graph API'

s.description = <<-DESC
Expand Down Expand Up @@ -49,7 +49,7 @@ Pod::Spec.new do |s|

s.source = {
http: "https://github.com/facebook/facebook-ios-sdk/releases/download/v#{s.version}/FacebookSDK_Dynamic.xcframework.zip",
sha1: 'cc51c7121270855d49bac9ce391a8836d38e149f'
sha1: '35822e70b58459d5557d4c4067f54a5448fafed1'
}
s.vendored_frameworks = 'XCFrameworks/FBSDKLoginKit.xcframework'
s.dependency "FBSDKCoreKit", "#{s.version}"
Expand Down
4 changes: 2 additions & 2 deletions FBSDKShareKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Pod::Spec.new do |s|

s.name = 'FBSDKShareKit'
s.version = '17.4.0'
s.version = '18.0.0'
s.summary = 'Official Facebook SDK for iOS to access Facebook Platform Sharing Features'

s.description = <<-DESC
Expand Down Expand Up @@ -49,7 +49,7 @@ Pod::Spec.new do |s|

s.source = {
http: "https://github.com/facebook/facebook-ios-sdk/releases/download/v#{s.version}/FacebookSDK_Dynamic.xcframework.zip",
sha1: 'cc51c7121270855d49bac9ce391a8836d38e149f'
sha1: '35822e70b58459d5557d4c4067f54a5448fafed1'
}
s.vendored_frameworks = 'XCFrameworks/FBSDKShareKit.xcframework'
s.dependency 'FBSDKCoreKit', "#{s.version}"
Expand Down
14 changes: 7 additions & 7 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ extension Target {
}

static func remoteBinaryURLString(for targetName: String) -> String {
"https://github.com/facebook/facebook-ios-sdk/releases/download/v17.4.0/\(targetName)-Dynamic_XCFramework.zip"
"https://github.com/facebook/facebook-ios-sdk/releases/download/v18.0.0/\(targetName)-Dynamic_XCFramework.zip"
}

static let basics = target(
Expand Down Expand Up @@ -188,32 +188,32 @@ extension Target {
enum Prefixed {
static let basics = binaryTarget(
name: .Prefixed.basics,
remoteChecksum: "1acb91f34e889975828cc06cffd081b39aec56eca5a485d8c25530e66afd4f6c"
remoteChecksum: "750f129c7413d51dfdeca1cc983743996fbf28154d80b2434acee7d537d64179"
)

static let aem = binaryTarget(
name: .Prefixed.aem,
remoteChecksum: "339b1b98c3df1347858cc57512ea2d69e499885196b5b7475d012844ca2f97b4"
remoteChecksum: "b2dda579247ffddad88b09b8a171e6a63c1a6254f97479833987d19392c0ae99"
)

static let core = binaryTarget(
name: .Prefixed.core,
remoteChecksum: "e83b30c6f6889228d1f104f97e803464b447bfbfdd167586ce97b695855a07ac"
remoteChecksum: "6d78eb5ad74812c8a45921b98824590fb0ad013c0afe7fc42f58fb7a48b17cd4"
)

static let login = binaryTarget(
name: .Prefixed.login,
remoteChecksum: "933243be923b01656eecf3cb8db46a8fbc9ed8a1af621fda9aa202b00f62d201"
remoteChecksum: "3c303233edfec91edb29cef0383edb5c9bc9c34acf1a1dd3011d0042f0a88a87"
)

static let share = binaryTarget(
name: .Prefixed.share,
remoteChecksum: "d4ff37b80e3ac8f5d2b096b35bb05dfbf93e6f2cbf477017816a0ec203a0d283"
remoteChecksum: "f4bad82bf960caf30f11b173cab49d992c275514aa698cc8851c33683f06e4bb"
)

static let gamingServices = binaryTarget(
name: .Prefixed.gaming,
remoteChecksum: "7750749a4280e7d37ab6f0b3ab8552137a3804c341e1a9f319729828d973455c"
remoteChecksum: "b17608f729b35516e26fd789285718992fb693e551946f99f97c0dbe2919e7f7"
)
}
}
Expand Down