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

Fix build error #84

Merged
merged 2 commits into from
Jan 25, 2018
Merged
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
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
language: objective-c
osx_image: xcode9
xcode_sdk: iphonesimulator10.0
podfile: ./BarrageRendererDemo/Podfile
script:
- set -o pipefail
- travis_retry xcodebuild -workspace ./BarrageRendererDemo/BarrageRendererDemo.xcworkspace -scheme "BarrageRendererDemo" -destination "platform=iOS Simulator,name=iPhone 6" | xcpretty
1 change: 1 addition & 0 deletions BarrageRenderer/BarrageEngine/BarrageDescriptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
// THE SOFTWARE.

#import <Foundation/Foundation.h>
#import "BarrageSpriteProtocol.h"

/// 统一的持久化层
@interface BarrageDescriptor : NSObject<NSCopying>
Expand Down
73 changes: 41 additions & 32 deletions BarrageRendererDemo/BarrageRendererDemo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
6D55A75E9E6287C3EC838B09 /* libPods-BarrageRendererDemo.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A2F5B09F38A598332AB834B1 /* libPods-BarrageRendererDemo.a */; };
ADF9FFC680A00BA9E4D24F7C /* libPods-BarrageRendererDemo.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 29884472DF4A619E65B68A0B /* libPods-BarrageRendererDemo.a */; };
CC853E161BFCBE6A000C1FEC /* AdvancedBarrageController.m in Sources */ = {isa = PBXBuildFile; fileRef = CC853E101BFCBE6A000C1FEC /* AdvancedBarrageController.m */; };
CC853E171BFCBE6A000C1FEC /* BarrageWalkImageTextSprite.m in Sources */ = {isa = PBXBuildFile; fileRef = CC853E121BFCBE6A000C1FEC /* BarrageWalkImageTextSprite.m */; };
CC853E181BFCBE6A000C1FEC /* CommonBarrageController.m in Sources */ = {isa = PBXBuildFile; fileRef = CC853E151BFCBE6A000C1FEC /* CommonBarrageController.m */; };
Expand All @@ -25,9 +25,9 @@
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
1C26C0B8A6A60E09DB1FAC28 /* Pods-BarrageRendererDemo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BarrageRendererDemo.release.xcconfig"; path = "Pods/Target Support Files/Pods-BarrageRendererDemo/Pods-BarrageRendererDemo.release.xcconfig"; sourceTree = "<group>"; };
5C13A3B15DEEFF78D2777351 /* Pods-BarrageRendererDemo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BarrageRendererDemo.debug.xcconfig"; path = "Pods/Target Support Files/Pods-BarrageRendererDemo/Pods-BarrageRendererDemo.debug.xcconfig"; sourceTree = "<group>"; };
A2F5B09F38A598332AB834B1 /* libPods-BarrageRendererDemo.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-BarrageRendererDemo.a"; sourceTree = BUILT_PRODUCTS_DIR; };
1B4AA4F8C40F9CCA4E403615 /* Pods-BarrageRendererDemo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BarrageRendererDemo.debug.xcconfig"; path = "Pods/Target Support Files/Pods-BarrageRendererDemo/Pods-BarrageRendererDemo.debug.xcconfig"; sourceTree = "<group>"; };
29884472DF4A619E65B68A0B /* libPods-BarrageRendererDemo.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-BarrageRendererDemo.a"; sourceTree = BUILT_PRODUCTS_DIR; };
52A68FC2D7818C1433F4955A /* Pods-BarrageRendererDemo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BarrageRendererDemo.release.xcconfig"; path = "Pods/Target Support Files/Pods-BarrageRendererDemo/Pods-BarrageRendererDemo.release.xcconfig"; sourceTree = "<group>"; };
CC853E0F1BFCBE6A000C1FEC /* AdvancedBarrageController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AdvancedBarrageController.h; sourceTree = "<group>"; };
CC853E101BFCBE6A000C1FEC /* AdvancedBarrageController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AdvancedBarrageController.m; sourceTree = "<group>"; };
CC853E111BFCBE6A000C1FEC /* BarrageWalkImageTextSprite.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BarrageWalkImageTextSprite.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -60,17 +60,26 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
6D55A75E9E6287C3EC838B09 /* libPods-BarrageRendererDemo.a in Frameworks */,
ADF9FFC680A00BA9E4D24F7C /* libPods-BarrageRendererDemo.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
BCAB4A02DE79583900493392 /* Frameworks */ = {
6B51F37174CE27536307E887 /* Pods */ = {
isa = PBXGroup;
children = (
A2F5B09F38A598332AB834B1 /* libPods-BarrageRendererDemo.a */,
1B4AA4F8C40F9CCA4E403615 /* Pods-BarrageRendererDemo.debug.xcconfig */,
52A68FC2D7818C1433F4955A /* Pods-BarrageRendererDemo.release.xcconfig */,
);
name = Pods;
sourceTree = "<group>";
};
8FC9C2B9D55BEF2F294D34DA /* Frameworks */ = {
isa = PBXGroup;
children = (
29884472DF4A619E65B68A0B /* libPods-BarrageRendererDemo.a */,
);
name = Frameworks;
sourceTree = "<group>";
Expand Down Expand Up @@ -102,8 +111,8 @@
children = (
CCECEDC71B5662F500098E7A /* BarrageRendererDemo */,
CCECEDC61B5662F500098E7A /* Products */,
F441B024A5ECB5E1DA377E4A /* Pods */,
BCAB4A02DE79583900493392 /* Frameworks */,
6B51F37174CE27536307E887 /* Pods */,
8FC9C2B9D55BEF2F294D34DA /* Frameworks */,
);
sourceTree = "<group>";
};
Expand Down Expand Up @@ -164,28 +173,19 @@
name = BarrageDemo;
sourceTree = "<group>";
};
F441B024A5ECB5E1DA377E4A /* Pods */ = {
isa = PBXGroup;
children = (
5C13A3B15DEEFF78D2777351 /* Pods-BarrageRendererDemo.debug.xcconfig */,
1C26C0B8A6A60E09DB1FAC28 /* Pods-BarrageRendererDemo.release.xcconfig */,
);
name = Pods;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
CCECEDC41B5662F500098E7A /* BarrageRendererDemo */ = {
isa = PBXNativeTarget;
buildConfigurationList = CCECEDE81B5662F500098E7A /* Build configuration list for PBXNativeTarget "BarrageRendererDemo" */;
buildPhases = (
3C3AD3B41A9212AF94F222A9 /* Check Pods Manifest.lock */,
572CE44BC040E4D2F84C6DE2 /* [CP] Check Pods Manifest.lock */,
CCECEDC11B5662F500098E7A /* Sources */,
CCECEDC21B5662F500098E7A /* Frameworks */,
CCECEDC31B5662F500098E7A /* Resources */,
EF2CDBDC4FC3AE77A059CD3C /* Copy Pods Resources */,
95AD912ADA39BC0C1617CEB4 /* Embed Pods Frameworks */,
C495AAF13D59EF1528D7F47D /* [CP] Embed Pods Frameworks */,
28C90FF3366B6A438BADF6A1 /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand Down Expand Up @@ -245,49 +245,58 @@
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
3C3AD3B41A9212AF94F222A9 /* Check Pods Manifest.lock */ = {
28C90FF3366B6A438BADF6A1 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${SRCROOT}/Pods/Target Support Files/Pods-BarrageRendererDemo/Pods-BarrageRendererDemo-resources.sh",
"${PODS_ROOT}/MLEmojiLabel/Classes/MLEmoji_Expression.plist",
"${PODS_ROOT}/MLEmojiLabel/Classes/MLEmoji_ExpressionImage.plist",
"${PODS_ROOT}/MLEmojiLabel/Classes/MLEmoji_Expression.bundle",
"${PODS_ROOT}/MLEmojiLabel/Classes/MLEmoji_Expression.bundle/gifexpression.bundle",
);
name = "Check Pods Manifest.lock";
name = "[CP] Copy Pods Resources";
outputPaths = (
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-BarrageRendererDemo/Pods-BarrageRendererDemo-resources.sh\"\n";
showEnvVarsInLog = 0;
};
95AD912ADA39BC0C1617CEB4 /* Embed Pods Frameworks */ = {
572CE44BC040E4D2F84C6DE2 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "Embed Pods Frameworks";
name = "[CP] Check Pods Manifest.lock";
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-BarrageRendererDemo-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-BarrageRendererDemo/Pods-BarrageRendererDemo-frameworks.sh\"\n";
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
EF2CDBDC4FC3AE77A059CD3C /* Copy Pods Resources */ = {
C495AAF13D59EF1528D7F47D /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Copy Pods Resources";
name = "[CP] Embed Pods Frameworks";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-BarrageRendererDemo/Pods-BarrageRendererDemo-resources.sh\"\n";
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-BarrageRendererDemo/Pods-BarrageRendererDemo-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
Expand Down Expand Up @@ -415,7 +424,7 @@
};
CCECEDE91B5662F500098E7A /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 5C13A3B15DEEFF78D2777351 /* Pods-BarrageRendererDemo.debug.xcconfig */;
baseConfigurationReference = 1B4AA4F8C40F9CCA4E403615 /* Pods-BarrageRendererDemo.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = C6FYK5JX7E;
Expand All @@ -430,7 +439,7 @@
};
CCECEDEA1B5662F500098E7A /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 1C26C0B8A6A60E09DB1FAC28 /* Pods-BarrageRendererDemo.release.xcconfig */;
baseConfigurationReference = 52A68FC2D7818C1433F4955A /* Pods-BarrageRendererDemo.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = C6FYK5JX7E;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0920"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "D74EE4FEC2F288FAF0240AD193DB8199"
BuildableName = "libMLEmojiLabel.a"
BlueprintName = "MLEmojiLabel"
ReferencedContainer = "container:Pods/Pods.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "E7E1650ED95BDF6C0F1BB3475031D7C5"
BuildableName = "libTTTAttributedLabel.a"
BlueprintName = "TTTAttributedLabel"
ReferencedContainer = "container:Pods/Pods.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "CCECEDC41B5662F500098E7A"
BuildableName = "BarrageRendererDemo.app"
BlueprintName = "BarrageRendererDemo"
ReferencedContainer = "container:BarrageRendererDemo.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "CCECEDC41B5662F500098E7A"
BuildableName = "BarrageRendererDemo.app"
BlueprintName = "BarrageRendererDemo"
ReferencedContainer = "container:BarrageRendererDemo.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "CCECEDC41B5662F500098E7A"
BuildableName = "BarrageRendererDemo.app"
BlueprintName = "BarrageRendererDemo"
ReferencedContainer = "container:BarrageRendererDemo.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "CCECEDC41B5662F500098E7A"
BuildableName = "BarrageRendererDemo.app"
BlueprintName = "BarrageRendererDemo"
ReferencedContainer = "container:BarrageRendererDemo.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
6 changes: 4 additions & 2 deletions BarrageRendererDemo/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ DEPENDENCIES:

EXTERNAL SOURCES:
BarrageRenderer:
:path: "../"
:path: ../

SPEC CHECKSUMS:
BarrageRenderer: 1c4204aa4242ec066e5e65191e504356570f94d1
MLEmojiLabel: ceeab17d10d296cc00636bf201c8da597fdede10
TTTAttributedLabel: 0a2ac7b2dd726d32a070dafb01446026b11e624f

COCOAPODS: 0.39.0
PODFILE CHECKSUM: 775706bdffb2cc4ec819b5f702cfaa18a6859f5f

COCOAPODS: 1.3.1