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

Xcode 11 updates #1155

Merged
merged 53 commits into from
Feb 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
1389ef1
Xcode 11 updates
chrisballinger Oct 2, 2019
4d7c0ae
Fix dark mode issues on donation screen
chrisballinger Oct 2, 2019
f955d4b
Dependency updates
chrisballinger Oct 18, 2019
a29d012
Fix launch screen
chrisballinger Oct 18, 2019
cf85f01
Move resources
chrisballinger Oct 18, 2019
9013c4c
Clean up Podfile
chrisballinger Oct 18, 2019
6f14a6f
Fix more dark mode issues
chrisballinger Oct 18, 2019
6422cff
Fix issues accessing values off of main thread
chrisballinger Oct 18, 2019
56e9dff
Fix storyboard issue
chrisballinger Oct 18, 2019
78be32c
Add back ChatSecureCore framework
chrisballinger Oct 20, 2019
a2947a8
OTRKit.framework
chrisballinger Oct 20, 2019
99e6265
CPAProxy and OTRKit integrated as xcframeworks
chrisballinger Oct 20, 2019
fd9a05d
turns out xcframeworks dont work for Release builds
chrisballinger Oct 20, 2019
c7a5c57
Remove prebuilt xcframeworks
chrisballinger Oct 21, 2019
96950e8
Fix archiving
chrisballinger Oct 21, 2019
b392cbb
Building for Catalyst
chrisballinger Oct 21, 2019
bd149de
Remove default NSFileProtectionComplete entitlement
chrisballinger Oct 21, 2019
76c169e
Fix code signing and ZXingObjC for Catalyst
chrisballinger Oct 26, 2019
6a99c49
Fix remaining catalyst issues
chrisballinger Oct 26, 2019
3d2b340
Catalyst fixes
chrisballinger Oct 26, 2019
a8da9da
Update Travis
chrisballinger Oct 27, 2019
a79a2b5
Deployment target 12.0
chrisballinger Oct 27, 2019
cbd8c93
Bump XMPPFramework
chrisballinger Oct 27, 2019
6e52bc4
Fixing warnings
chrisballinger Oct 27, 2019
724a36f
Fix duplicate category definition warnings
chrisballinger Oct 27, 2019
118178c
Fix crashing test
chrisballinger Oct 27, 2019
6efaf45
Support NSSecureCoding
chrisballinger Oct 27, 2019
af96126
Bump XMPPFramework
chrisballinger Oct 27, 2019
74c24aa
Working on catalyst
chrisballinger Oct 27, 2019
26768fc
Use InfoPlist.h for conditionals
chrisballinger Oct 28, 2019
5f65e6e
Fix Xcode warnings
chrisballinger Nov 2, 2019
325c805
Handling catalyst deprecations
chrisballinger Nov 2, 2019
863a5e6
Fix info plist
chrisballinger Nov 2, 2019
96ec845
Fix group avatar issue
chrisballinger Nov 3, 2019
2ddf1f9
Remove pods with bundles
chrisballinger Nov 3, 2019
319c415
Enable send with return key
chrisballinger Nov 3, 2019
8b4ade7
Do not resign first responder for return key
chrisballinger Nov 3, 2019
d004e98
Fix local file server on catalyst
chrisballinger Nov 3, 2019
d258ea4
Support dark mode
chrisballinger Nov 3, 2019
8de2fc9
Fixing catalyst resource bundle issues
chrisballinger Nov 3, 2019
f8a253d
Fix dark mode issue
chrisballinger Nov 3, 2019
26c51ac
Disable Tor
chrisballinger Nov 3, 2019
6d1f27d
Remove OTRResources bundle to resolve FB7425571
chrisballinger Nov 3, 2019
ed2dfbe
Fixing background fetch on iOS 13
chrisballinger Nov 3, 2019
048af83
Fix warning
chrisballinger Nov 3, 2019
4abaa4d
Fix compilation on iOS 12
chrisballinger Nov 3, 2019
3f45347
Fix popover crash
chrisballinger Nov 4, 2019
dd70015
Import target conditionals
chrisballinger Nov 6, 2019
c083034
Add macOS export compliance code
chrisballinger Dec 4, 2019
76aa267
Use xcconfigs for ITS export compliance
chrisballinger Jan 26, 2020
9ef61e7
Fix IAP on Mac
chrisballinger Jan 26, 2020
73363ca
Fix tests
chrisballinger Jan 26, 2020
f7fdb66
Use xcconfigs
chrisballinger Jan 26, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 4 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
osx_image: xcode10.2
osx_image: xcode11.3
language: objective-c

# Handle git submodules yourself
Expand All @@ -9,7 +9,7 @@ git:
# Use sed to replace the SSH URL with the public URL, then initialize submodules
before_install:
# Fix Travis xcodebuild exited with 65 https://github.com/travis-ci/travis-ci/issues/6675#issuecomment-257964767
- export IOS_SIMULATOR_UDID=`instruments -s devices | grep -m 1 "iPhone 8 (12" | awk -F '[ ]' '{print $4}' | awk -F '[\[]' '{print $2}' | sed 's/.$//'`
- export IOS_SIMULATOR_UDID=`instruments -s devices | grep -m 1 "iPhone 8 (13" | awk -F '[ ]' '{print $4}' | awk -F '[\[]' '{print $2}' | sed 's/.$//'`
- echo $IOS_SIMULATOR_UDID
- bundle install # We need a pre-release CocoaPods version
- sed -i -e 's/[email protected]:/git:\/\/github.com\//' .gitmodules
Expand All @@ -21,10 +21,8 @@ install:
- curl -L https://github.com/ChatSecure/ChatSecure-iOS-Precompiled-Dependencies/archive/master.zip -o ChatSecure-iOS-Precompiled-Dependencies.zip
- unzip -q ChatSecure-iOS-Precompiled-Dependencies.zip
- mv ChatSecure-iOS-Precompiled-Dependencies-master ChatSecure-iOS-Precompiled-Dependencies
- mkdir -p ./Carthage/Build/iOS/
- unzip -q ./ChatSecure-iOS-Precompiled-Dependencies/CPAProxyDependencies-iOS.zip -d ./Submodules/CPAProxy/
- cp -r ./Submodules/CPAProxy/CPAProxyDependencies-iOS ./Submodules/CPAProxy/CPAProxyDependencies-macOS
- unzip -q ./ChatSecure-iOS-Precompiled-Dependencies/OTRKitDependencies-iOS.zip -d ./Submodules/OTRKit/
- unzip -q ./ChatSecure-iOS-Precompiled-Dependencies/CPAProxyDependencies.zip -d ./Submodules/CPAProxy/
- unzip -q ./ChatSecure-iOS-Precompiled-Dependencies/OTRKitDependencies.zip -d ./Submodules/OTRKit/
- unzip -q ./ChatSecure-iOS-Precompiled-Dependencies/Pods.zip

before_script:
Expand Down
4,142 changes: 2,706 additions & 1,436 deletions ChatSecure.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

129 changes: 129 additions & 0 deletions ChatSecure.xcodeproj/xcshareddata/xcschemes/ChatSecure (Mac).xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
<?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 = "6396AF991A169D54009F3E6C"
BuildableName = "ChatSecure.app"
BlueprintName = "ChatSecure"
ReferencedContainer = "container:ChatSecure.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "NO"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6396AFB21A169D54009F3E6C"
BuildableName = "ChatSecureTests.xctest"
BlueprintName = "ChatSecureTests"
ReferencedContainer = "container:ChatSecure.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "macOS_Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
disableMainThreadChecker = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6396AF991A169D54009F3E6C"
BuildableName = "ChatSecure.app"
BlueprintName = "ChatSecure"
ReferencedContainer = "container:ChatSecure.xcodeproj">
</BuildableReference>
</MacroExpansion>
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6396AFB21A169D54009F3E6C"
BuildableName = "ChatSecureTests.xctest"
BlueprintName = "ChatSecureTests"
ReferencedContainer = "container:ChatSecure.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6365CEFB1E2453F6009E213F"
BuildableName = "ChatSecureUITests.xctest"
BlueprintName = "ChatSecureUITests"
ReferencedContainer = "container:ChatSecure.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "macOS_Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6396AF991A169D54009F3E6C"
BuildableName = "ChatSecure.app"
BlueprintName = "ChatSecure"
ReferencedContainer = "container:ChatSecure.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<EnvironmentVariables>
<EnvironmentVariable
key = "OS_ACTIVITY_MODE"
value = "disable"
isEnabled = "NO">
</EnvironmentVariable>
</EnvironmentVariables>
</LaunchAction>
<ProfileAction
buildConfiguration = "macOS_Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6396AF991A169D54009F3E6C"
BuildableName = "ChatSecure.app"
BlueprintName = "ChatSecure"
ReferencedContainer = "container:ChatSecure.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "macOS_Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "macOS_Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
42 changes: 19 additions & 23 deletions ChatSecure.xcodeproj/xcshareddata/xcschemes/ChatSecure.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1020"
LastUpgradeVersion = "1120"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down Expand Up @@ -37,11 +37,20 @@
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
buildConfiguration = "iOS_Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
disableMainThreadChecker = "YES"
shouldUseLaunchSchemeArgsEnv = "YES">
shouldUseLaunchSchemeArgsEnv = "YES"
disableMainThreadChecker = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6396AF991A169D54009F3E6C"
BuildableName = "ChatSecure.app"
BlueprintName = "ChatSecure"
ReferencedContainer = "container:ChatSecure.xcodeproj">
</BuildableReference>
</MacroExpansion>
<Testables>
<TestableReference
skipped = "NO">
Expand All @@ -54,7 +63,7 @@
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
skipped = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6365CEFB1E2453F6009E213F"
Expand All @@ -64,20 +73,9 @@
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6396AF991A169D54009F3E6C"
BuildableName = "ChatSecure.app"
BlueprintName = "ChatSecure"
ReferencedContainer = "container:ChatSecure.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
buildConfiguration = "iOS_Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
Expand All @@ -100,14 +98,12 @@
<EnvironmentVariable
key = "OS_ACTIVITY_MODE"
value = "disable"
isEnabled = "YES">
isEnabled = "NO">
</EnvironmentVariable>
</EnvironmentVariables>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
buildConfiguration = "iOS_Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
Expand All @@ -124,10 +120,10 @@
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
buildConfiguration = "iOS_Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
buildConfiguration = "iOS_Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1130"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "D9C527FF235CB55C002B213A"
BuildableName = "ChatSecureCore.framework"
BlueprintName = "ChatSecureCore"
ReferencedContainer = "container:ChatSecure.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "iOS_Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "iOS_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 = "iOS_Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "D9C527FF235CB55C002B213A"
BuildableName = "ChatSecureCore.framework"
BlueprintName = "ChatSecureCore"
ReferencedContainer = "container:ChatSecure.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "iOS_Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "iOS_Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1020"
LastUpgradeVersion = "1120"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand All @@ -23,10 +23,19 @@
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
buildConfiguration = "iOS_Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6396AFB21A169D54009F3E6C"
BuildableName = "ChatSecureTests.xctest"
BlueprintName = "ChatSecureTests"
ReferencedContainer = "container:ChatSecure.xcodeproj">
</BuildableReference>
</MacroExpansion>
<Testables>
<TestableReference
skipped = "NO">
Expand All @@ -39,20 +48,9 @@
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6396AFB21A169D54009F3E6C"
BuildableName = "ChatSecureTests.xctest"
BlueprintName = "ChatSecureTests"
ReferencedContainer = "container:ChatSecure.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
buildConfiguration = "iOS_Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
Expand All @@ -77,11 +75,9 @@
isEnabled = "YES">
</EnvironmentVariable>
</EnvironmentVariables>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
buildConfiguration = "iOS_Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
Expand All @@ -97,10 +93,10 @@
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
buildConfiguration = "iOS_Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
buildConfiguration = "iOS_Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Loading