Skip to content

Commit

Permalink
PubNub SDK 4.11.1 Release (#419)
Browse files Browse the repository at this point in the history
fix(frameworks): change 'Message Actions' API headers visibility

Changed headers visibility in frameworks project from 'project' to 'public'.

build(frameworks): build XCFramework instead of fat binaries

Change build scripts which now produce XCFrameworks with separate slices for device and simulator
instead of 'fat' binaries created with 'lipo'.

feat(frameworks): add Catalyst framework support

Added proper Catalyst framework support with separate build target 'XCFramework (Catalyst)' which
is bundled with binaries which allow it to be used for: device / simulator and macOS (created from
iPad application).
  • Loading branch information
parfeon authored Nov 26, 2019
1 parent 363d1a5 commit 9c69564
Show file tree
Hide file tree
Showing 22 changed files with 668 additions and 300 deletions.
15 changes: 14 additions & 1 deletion .pubnub.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
---
name: objective-c
scm: github.com/pubnub/objective-c
version: "4.11.0"
version: "4.11.1"
schema: 1
changelog:
-
changes:
-
text: "Added proper Catalyst framework support with separate build target 'XCFramework (Catalyst)' which is bundled with binaries which allow it to be used for: device / simulator and macOS"
type: feature
-
text: "Changed build scripts which now produce XCFrameworks with separate slices for device and simulator instead of 'fat' binaries created with 'lipo'."
type: improvement
-
text: "Changed headers visibility in frameworks project from 'project' to 'public'."
type: bug
date: Nov 25, 19
version: v4.11.1
-
changes:
-
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
25-11-2019 - 9baf80c - 4.11.1
. changed headers visibility in frameworks project from 'project' to 'public'.
. changed build scripts which now produce XCFrameworks with separate slices for device and simulator instead of 'fat' binaries created with 'lipo'.
. Added proper Catalyst framework support with separate build target 'XCFramework (Catalyst)' which is bundled with binaries which allow it to be used for: device / simulator and macOS.

08-10-2019 - baef53b - 4.11.0
. add Message Actions API support which allow to: add, remove and fetch previously added actions.
. add new method to simple interface and argument to builder pattern interface which allow to fetch previously added actions and message metadata.
Expand Down
562 changes: 415 additions & 147 deletions Framework/PubNub Framework.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
Expand All @@ -51,8 +49,6 @@
ReferencedContainer = "container:PubNub Framework.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
Expand All @@ -51,8 +49,6 @@
ReferencedContainer = "container:PubNub Framework.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1120"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A57A2FF3238A04F500DE8C68"
BuildableName = "XCFramework (Catalyst)"
BlueprintName = "XCFramework (Catalyst)"
ReferencedContainer = "container:PubNub Framework.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A57A2FF3238A04F500DE8C68"
BuildableName = "XCFramework (Catalyst)"
BlueprintName = "XCFramework (Catalyst)"
ReferencedContainer = "container:PubNub Framework.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "79ACC4911C11BC620056523A"
BuildableName = "Universal Framework (Fabric)"
BlueprintName = "Universal Framework (Fabric)"
BuildableName = "XCFramework (Fabric)"
BlueprintName = "XCFramework (Fabric)"
ReferencedContainer = "container:PubNub Framework.xcodeproj">
</BuildableReference>
</BuildActionEntry>
Expand All @@ -29,8 +29,6 @@
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
Expand All @@ -46,13 +44,11 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "79ACC4911C11BC620056523A"
BuildableName = "Universal Framework (Fabric)"
BlueprintName = "Universal Framework (Fabric)"
BuildableName = "XCFramework (Fabric)"
BlueprintName = "XCFramework (Fabric)"
ReferencedContainer = "container:PubNub Framework.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand All @@ -64,8 +60,8 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "79ACC4911C11BC620056523A"
BuildableName = "Universal Framework (Fabric)"
BlueprintName = "Universal Framework (Fabric)"
BuildableName = "XCFramework (Fabric)"
BlueprintName = "XCFramework (Fabric)"
ReferencedContainer = "container:PubNub Framework.xcodeproj">
</BuildableReference>
</MacroExpansion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "79CBB1D31BD042FB001FC34D"
BuildableName = "Universal Framework (iOS)"
BlueprintName = "Universal Framework (iOS)"
BuildableName = "XCFramework (iOS)"
BlueprintName = "XCFramework (iOS)"
ReferencedContainer = "container:PubNub Framework.xcodeproj">
</BuildableReference>
</BuildActionEntry>
Expand All @@ -29,8 +29,6 @@
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
Expand All @@ -46,13 +44,11 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "79CBB1D31BD042FB001FC34D"
BuildableName = "Universal Framework (iOS)"
BlueprintName = "Universal Framework (iOS)"
BuildableName = "XCFramework (iOS)"
BlueprintName = "XCFramework (iOS)"
ReferencedContainer = "container:PubNub Framework.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand All @@ -64,8 +60,8 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "79CBB1D31BD042FB001FC34D"
BuildableName = "Universal Framework (iOS)"
BlueprintName = "Universal Framework (iOS)"
BuildableName = "XCFramework (iOS)"
BlueprintName = "XCFramework (iOS)"
ReferencedContainer = "container:PubNub Framework.xcodeproj">
</BuildableReference>
</MacroExpansion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "79A8BDB71C58FC2E00015BDE"
BuildableName = "Universal Framework (tvOS)"
BlueprintName = "Universal Framework (tvOS)"
BuildableName = "XCFramework (tvOS)"
BlueprintName = "XCFramework (tvOS)"
ReferencedContainer = "container:PubNub Framework.xcodeproj">
</BuildableReference>
</BuildActionEntry>
Expand All @@ -29,8 +29,6 @@
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
Expand All @@ -46,13 +44,11 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "79A8BDB71C58FC2E00015BDE"
BuildableName = "Universal Framework (tvOS)"
BlueprintName = "Universal Framework (tvOS)"
BuildableName = "XCFramework (tvOS)"
BlueprintName = "XCFramework (tvOS)"
ReferencedContainer = "container:PubNub Framework.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand All @@ -64,8 +60,8 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "79A8BDB71C58FC2E00015BDE"
BuildableName = "Universal Framework (tvOS)"
BlueprintName = "Universal Framework (tvOS)"
BuildableName = "XCFramework (tvOS)"
BlueprintName = "XCFramework (tvOS)"
ReferencedContainer = "container:PubNub Framework.xcodeproj">
</BuildableReference>
</MacroExpansion>
Expand Down
Loading

0 comments on commit 9c69564

Please sign in to comment.