Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
secret-ios committed Oct 9, 2021
0 parents commit 594a078
Show file tree
Hide file tree
Showing 125 changed files with 19,186 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate

# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
#
#Pods/
.DS_Store
Carthage
ZMCSystem.framework.zip


# Test artefacts
xcode-*.log
tests.xml
code-coverage/*
cobertura.xml
WireSystem.framework.zip
/fastlane/README.md
/fastlane/report.xml
3 changes: 3 additions & 0 deletions Cartfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
github "pukapp/wire-ios-protos" "secret"
github "pukapp/wire-ios-transport" "secret"
github "pukapp/wire-ios-cryptobox" "secret"
1 change: 1 addition & 0 deletions Cartfile.private
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github "pukapp/wire-ios-testing" ~> 22.0
1 change: 1 addition & 0 deletions Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

5 changes: 5 additions & 0 deletions Resources/Configurations/WireMockTransport.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

#include "zmc-config/ios.xcconfig"

APPLICATION_EXTENSION_API_ONLY = NO
PRODUCT_NAME = WireMockTransport
2 changes: 2 additions & 0 deletions Resources/Configurations/version.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
MAJOR_VERSION = 111
CURRENT_PROJECT_VERSION = 111.0.0
23 changes: 23 additions & 0 deletions Resources/Configurations/zmc-config/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
.DS_Store

Carthage.pkg
Carthage/Build

19 changes: 19 additions & 0 deletions Resources/Configurations/zmc-config/ios-test-host.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//
// Wire
// Copyright (C) 2016 Wire Swiss GmbH
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see http://www.gnu.org/licenses/.
//

#include "ios.xcconfig"
29 changes: 29 additions & 0 deletions Resources/Configurations/zmc-config/ios-test-target.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
//
// Wire
// Copyright (C) 2016 Wire Swiss GmbH
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see http://www.gnu.org/licenses/.
//

#include "ios.xcconfig"
#include "tests.xcconfig"

ARCHS[sdk=iphonesimulator*] = x86_64
VALID_ARCHS[sdk=iphoneos*] = arm64 armv7
VALID_ARCHS[sdk=iphonesimulator*] = x86_64


// Linking
//
FRAMEWORK_SEARCH_PATHS = $(DEVELOPER_FRAMEWORKS_DIR) $(inherited) $(PROJECT_DIR)/Carthage/Build/iOS
44 changes: 44 additions & 0 deletions Resources/Configurations/zmc-config/ios.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
//
// Wire
// Copyright (C) 2016 Wire Swiss GmbH
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see http://www.gnu.org/licenses/.
//

//
// This is the main file used by Framework targets on iOS.
// It gets included by {target}-ios.xcconfig
//


// Architectures
//
VALID_ARCHS[sdk=iphoneos*] = arm64 armv7
VALID_ARCHS[sdk=iphonesimulator*] = x86_64


// Deployment
//
IPHONEOS_DEPLOYMENT_TARGET = 10.0
TARGETED_DEVICE_FAMILY = 1,2
DYLIB_INSTALL_NAME_BASE = @rpath
FRAMEWORK_VERSION = A


// Linking
//
OTHER_LDFLAGS = -ObjC
FRAMEWORK_SEARCH_PATHS = $(inherited) $(PROJECT_DIR)/Carthage/Build/iOS $(PLATFORM_DIR)/Developer/Library/Frameworks

GCC_PREPROCESSOR_DEFINITIONS_shared = TEST_TARGET=1
117 changes: 117 additions & 0 deletions Resources/Configurations/zmc-config/project-common.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
//
// Wire
// Copyright (C) 2016 Wire Swiss GmbH
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see http://www.gnu.org/licenses/.
//

#include "warnings.xcconfig"
#include "../version.xcconfig"

// Architectures
//
SDKROOT = iphoneos
ARCHS[sdk=iphoneos*] = arm64 armv7
ARCHS[sdk=iphonesimulator*] = x86_64
VALID_ARCHS[sdk=iphoneos*] = arm64 armv7
SUPPORTED_PLATFORMS = iphoneos iphonesimulator


// Code Signing
//
CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Developer

// Deployment
//
IPHONEOS_DEPLOYMENT_TARGET = 10.0
TARGETED_DEVICE_FAMILY = 1,2

DYLIB_INSTALL_NAME_BASE = @rpath
FRAMEWORK_VERSION = A



// Linking
//
OTHER_LDFLAGS = -ObjC
CARTHAGE_FOLDER[sdk=iphoneos*] = $(PROJECT_DIR)/Carthage/Build/iOS
CARTHAGE_FOLDER[sdk=iphonesimulator*] = $(PROJECT_DIR)/Carthage/Build/iOS
FRAMEWORK_SEARCH_PATHS = $(inherited) $(CARTHAGE_FOLDER) $(PLATFORM_DIR)/Developer/Library/Frameworks
DYLIB_COMPATIBILITY_VERSION = $(MAJOR_VERSION).0
DYLIB_CURRENT_VERSION = $(CURRENT_PROJECT_VERSION)

// Swift
//
SWIFT_VERSION = 5.0
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
SWIFT_COMPILATION_MODE = wholemodule
LD_RUNPATH_SEARCH_PATHS = $(inherited) @loader_path/Frameworks @loader_path/../Frameworks @executable_path/Frameworks @executable_path/../Frameworks
DEFINES_MODULE = YES

// Search Paths
//
ALWAYS_SEARCH_USER_PATHS = NO



// Deployment
//
COMBINE_HIDPI_IMAGES = YES
ENABLE_BITCODE = NO


// Versioning
//
VERSIONING_SYSTEM = apple-generic

// LLVM - Code Generation
//
GCC_DYNAMIC_NO_PIC = NO


// LLVM - Language
//
GCC_C_LANGUAGE_STANDARD = gnu99



// LLVM - Language - C++
//
CLANG_CXX_LANGUAGE_STANDARD = gnu++0x
CLANG_CXX_LIBRARY = libc++
GCC_ENABLE_CPP_EXCEPTIONS = NO



// LLVM - Language - Modules
//
CLANG_ENABLE_MODULES = YES
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES



// LLVM - Language - Objective C
//
GCC_ENABLE_OBJC_EXCEPTIONS = YES
CLANG_ENABLE_OBJC_ARC = YES
ENABLE_STRICT_OBJC_MSGSEND = YES


// LLVM - Preprocessing
//
ENABLE_NS_ASSERTIONS = YES


// info.plist
INFOPLIST_PREPROCESS = YES
51 changes: 51 additions & 0 deletions Resources/Configurations/zmc-config/project-debug.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
//
// Wire
// Copyright (C) 2016 Wire Swiss GmbH
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see http://www.gnu.org/licenses/.
//


#include "warnings-debug.xcconfig"
#include "project-common.xcconfig"



// Architectures
//
ONLY_ACTIVE_ARCH = YES



// Deployment
//
COPY_PHASE_STRIP = NO


// LLVM - Code Generation
//
GCC_OPTIMIZATION_LEVEL = 0


// Swift Compiler - Code Generation
//
SWIFT_OPTIMIZATION_LEVEL = -Onone
OTHER_SWIFT_FLAGS = -D DEBUG
ENABLE_TESTABILITY = YES



// LLVM - Preprocessing
//
GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 ZM_MAJOR_VERSION=$(MAJOR_VERSION) $(inherited) $(GCC_PREPROCESSOR_DEFINITIONS_shared)
36 changes: 36 additions & 0 deletions Resources/Configurations/zmc-config/project.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
//
// Wire
// Copyright (C) 2016 Wire Swiss GmbH
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see http://www.gnu.org/licenses/.
//


#include "warnings.xcconfig"
#include "project-common.xcconfig"

// Build Options
//
DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
VALIDATE_PRODUCT = YES

// Deployment
//
COPY_PHASE_STRIP = YES


// LLVM - Preprocessing
//
GCC_PREPROCESSOR_DEFINITIONS = DEBUG=0 ZM_MAJOR_VERSION=$(MAJOR_VERSION) $(inherited) $(GCC_PREPROCESSOR_DEFINITIONS_shared)

Loading

0 comments on commit 594a078

Please sign in to comment.