Skip to content

Commit 40feea4

Browse files
committed
Merge branch 'master' of https://github.com/SwiftOnEdge/Reflex into HEAD
2 parents 61d3f12 + d64fcd4 commit 40feea4

File tree

4 files changed

+83
-22
lines changed

4 files changed

+83
-22
lines changed

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
language: objective-c
2+
osx_image: xcode8
3+
4+
xcode_project: Reflex.xcodeproj
5+
xcode_scheme: Reflex
6+
xcode_sdk: iphonesimulator10.0
7+
8+
script:
9+
- set -o pipefail && xcodebuild -project Reflex.xcodeproj -scheme Reflex -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO -destination "platform=iOS Simulator,name=iPhone 6s" build | xcpretty
10+
- pod lib lint
11+

Reflex.podspec

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#
2+
# Be sure to run `pod lib lint Reflex.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 http://guides.cocoapods.org/syntax/podspec.html
7+
#
8+
9+
Pod::Spec.new do |s|
10+
s.name = 'Reflex'
11+
s.version = '0.1.0'
12+
s.summary = 'Reflex is a very small and compact Functional Reactive Programming library which is used to implement the Edge event system.'
13+
14+
# This description is used to generate tags and improve search results.
15+
# * Think: What does it do? Why did you write it? What is the focus?
16+
# * Try to keep it short, snappy and to the point.
17+
# * Write the description between the DESC delimiters below.
18+
# * Finally, don't worry about the indent, CocoaPods strips it!
19+
20+
s.description = <<-DESC
21+
It is inspired by ReactiveCocoa, but the API has been greatly reduced in scope and simplified. The Reflex API is designed so that it can also be used as a simple callback system, much like Node.js Events. No functional programming necessary.
22+
DESC
23+
24+
s.homepage = 'https://github.com/SwiftOnEdge/Reflex'
25+
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
26+
s.license = { :type => 'MIT', :file => 'LICENSE.md' }
27+
s.author = { 'SwiftOnEdge' => 'https://github.com/SwiftOnEdge' }
28+
s.source = { :git => 'https://github.com/SwiftOnEdge/Reflex.git', :tag => s.version.to_s }
29+
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
30+
31+
s.ios.deployment_target = '8.0'
32+
33+
s.source_files = 'Sources/**/*'
34+
35+
# s.resource_bundles = {
36+
# 'Reflex' => ['Reflex/Assets/*.png']
37+
# }
38+
39+
# s.public_header_files = 'Pod/Classes/**/*.h'
40+
# s.frameworks = 'UIKit', 'MapKit'
41+
# s.dependency 'AFNetworking', '~> 2.3'
42+
end

Reflex.xcodeproj/Reflex_Info.plist

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,26 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
23
<plist version="1.0">
34
<dict>
4-
<key>CFBundleDevelopmentRegion</key>
5-
<string>en</string>
6-
<key>CFBundleExecutable</key>
7-
<string>$(EXECUTABLE_NAME)</string>
8-
<key>CFBundleIdentifier</key>
9-
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
10-
<key>CFBundleInfoDictionaryVersion</key>
11-
<string>6.0</string>
12-
<key>CFBundleName</key>
13-
<string>$(PRODUCT_NAME)</string>
14-
<key>CFBundlePackageType</key>
15-
<string>FMWK</string>
16-
<key>CFBundleShortVersionString</key>
17-
<string>1.0</string>
18-
<key>CFBundleSignature</key>
19-
<string>????</string>
20-
<key>CFBundleVersion</key>
21-
<string>$(CURRENT_PROJECT_VERSION)</string>
22-
<key>NSPrincipalClass</key>
23-
<string></string>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>en</string>
7+
<key>CFBundleExecutable</key>
8+
<string>$(EXECUTABLE_NAME)</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
11+
<key>CFBundleInfoDictionaryVersion</key>
12+
<string>6.0</string>
13+
<key>CFBundleName</key>
14+
<string>$(PRODUCT_NAME)</string>
15+
<key>CFBundlePackageType</key>
16+
<string>FMWK</string>
17+
<key>CFBundleShortVersionString</key>
18+
<string>1.0</string>
19+
<key>CFBundleSignature</key>
20+
<string>????</string>
21+
<key>CFBundleVersion</key>
22+
<string>$(CURRENT_PROJECT_VERSION)</string>
23+
<key>NSPrincipalClass</key>
24+
<string></string>
2425
</dict>
2526
</plist>

Reflex.xcodeproj/project.pbxproj

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,11 @@
163163
isa = PBXProject;
164164
attributes = {
165165
LastUpgradeCheck = 9999;
166+
TargetAttributes = {
167+
OBJ_21 = {
168+
ProvisioningStyle = Automatic;
169+
};
170+
};
166171
};
167172
buildConfigurationList = OBJ_2 /* Build configuration list for PBXProject "Reflex" */;
168173
compatibilityVersion = "Xcode 3.2";
@@ -219,14 +224,15 @@
219224
OBJ_23 /* Debug */ = {
220225
isa = XCBuildConfiguration;
221226
buildSettings = {
227+
CODE_SIGN_IDENTITY = "Mac Developer";
222228
ENABLE_TESTABILITY = YES;
223229
FRAMEWORK_SEARCH_PATHS = "$(PLATFORM_DIR)/Developer/Library/Frameworks";
224230
HEADER_SEARCH_PATHS = "";
225231
INFOPLIST_FILE = Reflex.xcodeproj/Reflex_Info.plist;
226232
LD_RUNPATH_SEARCH_PATHS = "$(TOOLCHAIN_DIR)/usr/lib/swift/macosx";
227233
OTHER_LDFLAGS = "$(inherited)";
228234
OTHER_SWIFT_FLAGS = "$(inherited)";
229-
PRODUCT_BUNDLE_IDENTIFIER = Reflex;
235+
PRODUCT_BUNDLE_IDENTIFIER = com.edge.Reflex;
230236
PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)";
231237
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
232238
SWIFT_ACTIVE_COMPILATION_CONDITIONS = SWIFT_PACKAGE;
@@ -238,14 +244,15 @@
238244
OBJ_24 /* Release */ = {
239245
isa = XCBuildConfiguration;
240246
buildSettings = {
247+
CODE_SIGN_IDENTITY = "Mac Developer";
241248
ENABLE_TESTABILITY = YES;
242249
FRAMEWORK_SEARCH_PATHS = "$(PLATFORM_DIR)/Developer/Library/Frameworks";
243250
HEADER_SEARCH_PATHS = "";
244251
INFOPLIST_FILE = Reflex.xcodeproj/Reflex_Info.plist;
245252
LD_RUNPATH_SEARCH_PATHS = "$(TOOLCHAIN_DIR)/usr/lib/swift/macosx";
246253
OTHER_LDFLAGS = "$(inherited)";
247254
OTHER_SWIFT_FLAGS = "$(inherited)";
248-
PRODUCT_BUNDLE_IDENTIFIER = Reflex;
255+
PRODUCT_BUNDLE_IDENTIFIER = com.edge.Reflex;
249256
PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)";
250257
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
251258
SWIFT_ACTIVE_COMPILATION_CONDITIONS = SWIFT_PACKAGE;

0 commit comments

Comments
 (0)