+ Start a Discussion
@Mahendra@Mahendra 

problem: No package.xml found

While I am deploying big object facing error : ''problem: No package.xml found"

My Package file : 

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types> <members>*</members> <name>CustomObject</name> </types>
<types> <members>*</members> <name>PermissionSet</name> </types>
<version>41.0</version>
</Package>
User-added image
How can i resolve this error.
Manj_SFDCManj_SFDC
Make sure you have package.xml in your root directory from where you are deploying the metadata. 
@Mahendra@Mahendra
@manj_SFDC Thanks for your response. we have save  package.xml in root directory as displyed in above attached image. Have you solve same issue ?
Regards,
Mahendra
Manj_SFDCManj_SFDC
can you please paste the complete error message 
@Mahendra@Mahendra
User-added image

Customer_Interaction__b.object
---------------------------------------------
<?xml version="1.0" encoding="UTF-8"?> <CustomObject xmlns="http://soap.sforce.com/2006/04/metadata"> <deploymentStatus>Deployed</deploymentStatus> <fields> <fullName>In_Game_Purchase__c</fullName> <label>In-Game Purchase</label> <length>16</length> <required>false</required> <type>Text</type> <unique>false</unique> </fields> <fields> <fullName>Level_Achieved__c</fullName> <label>Level Achieved</label> <length>16</length> <required>false</required> <type>Text</type> <unique>false</unique> </fields> <fields> <fullName>Lives_This_Game__c</fullName> <label>Lives Used This Game</label> <length>16</length> <required>false</required> <type>Text</type> <unique>false</unique> </fields> <fields> <fullName>Game_Platform__c</fullName> <label>Platform</label> <length>16</length> <required>true</required> <type>Text</type> <unique>false</unique> </fields> <fields> <fullName>Score_This_Game__c</fullName> <label>Score This Game</label> <length>16</length> <required>false</required> <type>Text</type> <unique>false</unique> </fields> <fields> <fullName>Account__c</fullName> <label>User Account</label> <referenceTo>Account</referenceTo> <relationshipName>Game_User_Account</relationshipName> <required>true</required> <type>Lookup</type> </fields> <fields> <fullName>Play_Date__c</fullName> <label>Date of Play</label> <required>true</required> <type>DateTime</type> </fields> <fields> <fullName>Play_Duration__c</fullName> <label>Play Duration</label> <required>false</required> <type>Number</type> <scale>2</scale> <precision>18</precision> </fields> <indexes> <fullName>CustomerInteractionsIndex</fullName> <label>Customer Interactions Index</label> <fields> <name>Account__c</name> <sortDirection>DESC</sortDirection> </fields> <fields> <name>Game_Platform__c</name> <sortDirection>ASC</sortDirection> </fields> <fields> <name>Play_Date__c</name> <sortDirection>DESC</sortDirection> </fields> </indexes> <label>Customer Interaction</label> <pluralLabel>Customer Interactions</pluralLabel> </CustomObject>
----------------------------------------------------------------
package.xml
.............................
<?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata"> <types> <members>*</members> <name>CustomObject</name> </types> <types> <members>*</members> <name>PermissionSet</name> </types> <version>41.0</version> </Package>
----------------------------------------------------------------
Customer_Interaction_BigObject.permissionset
-----------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?> <PermissionSet xmlns="http://soap.sforce.com/2006/04/metadata"> <label>Customer Interaction Permission Set</label> <fieldPermissions> <editable>true</editable> <field>Customer_Interaction__b.In_Game_Purchase__c</field> <readable>true</readable> </fieldPermissions> <fieldPermissions> <editable>true</editable> <field>Customer_Interaction__b.Level_Achieved__c</field> <readable>true</readable> </fieldPermissions> <fieldPermissions> <editable>true</editable> <field>Customer_Interaction__b.Lives_This_Game__c</field> <readable>true</readable> </fieldPermissions> <fieldPermissions> <editable>true</editable> <field>Customer_Interaction__b.Play_Duration__c</field> <readable>true</readable> </fieldPermissions> <fieldPermissions> <editable>true</editable> <field>Customer_Interaction__b.Score_This_Game__c</field> <readable>true</readable> </fieldPermissions> </PermissionSet>
陳蕙心 Cymbi Chen陳蕙心 Cymbi Chen
I came acrosse this problem, though I am using Mac, I've zipped files without hidden files. (zip -r foo.zip foo -x "*.DS_Store") 
And this problem come up all the times.

file in foder